Skip to content

Embed small source files inside executable#784

Merged
joaorb64 merged 3 commits intojoaorb64:mainfrom
ladyisatis:feature/embedfiles-v2
Nov 11, 2024
Merged

Embed small source files inside executable#784
joaorb64 merged 3 commits intojoaorb64:mainfrom
ladyisatis:feature/embedfiles-v2

Conversation

@ladyisatis
Copy link
Copy Markdown
Collaborator

@ladyisatis ladyisatis commented Nov 11, 2024

Supersedes the previous PR

Makes it so that the following is embedded inside TSH.exe instead of referenced via filesystem:

        ('../assets/contributors.txt', 'assets'),
        ('../assets/versions.json', 'assets'),
        ('../src/i18n/tournament_term/*.json', 'src/i18n/tournament_term'),
        ('../src/i18n/*.json', 'src/i18n'),
        ('../src/i18n/*.qm', 'src/i18n'),
        ('../src/layout/*', 'src/layout'),
        ('../src/TournamentDataProvider/*.txt', 'src/TournamentDataProvider'),
        ('../stage_strike_app/build/*', 'stage_strike_app/build')

Also inside scripts, included gen_release.sh (Linux) / gen_release.ps1 (Windows) to generate a release.zip that only includes assets, layout, user_data and TSH.exe so distributing new builds is slimmer.

@joaorb64 joaorb64 merged commit 5428c16 into joaorb64:main Nov 11, 2024
@ladyisatis ladyisatis deleted the feature/embedfiles-v2 branch November 20, 2024 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants