Skip to content

Instantly share code, notes, and snippets.

View Vangelis66's full-sized avatar
😡
Being angry at GitHub/MS breaking my "legacy" browser (UXP-based Serpent 52)

Vangelis66

😡
Being angry at GitHub/MS breaking my "legacy" browser (UXP-based Serpent 52)
View GitHub Profile
@Vangelis66
Vangelis66 / optimizejars.py
Created July 1, 2023 17:32
omni.ja de-optimise/optimise py2.7 script
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
import sys, os, subprocess, struct, re
local_file_header = [
("signature", "uint32"),
("min_version", "uint16"),
("general_flag", "uint16"),