<commit_before>; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

[Setup]
; NOTE: The value of AppId uniquely identifies this application.
; Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{4F5E5D42-3F61-411D-B38A-2A612586A8B5}
AppName=GMosh
AppVersion=2.0
;AppVerName=GMosh 2.0
AppPublisher=FPtje
AppPublisherURL=https://github.com/FPtje/gmosh
AppSupportURL=https://github.com/FPtje/gmosh
AppUpdatesURL=https://github.com/FPtje/gmosh
DefaultDirName={pf}\gmosh
DisableDirPage=yes
DefaultGroupName=gmoshui
AllowNoIcons=yes
OutputDir=C:\Users\falco\Documents\Programs\gmosh\installer
OutputBaseFilename=setup
SetupIconFile=C:\Users\falco\Documents\Programs\gmosh\res\icon.ico
Compression=lzma
SolidCompression=yes

[Setup]
ArchitecturesInstallIn64BitMode=x64 ia64

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags:
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: ; OnlyBelowVersion: 0,6.1

[Files]
;Source: "C:\Program Files\gmosh\bin\gmoshui.exe"; DestDir: "{app}\bin"; Flags: ignoreversion
;Source: "C:\Program Files\gmosh\bin\gmosh.exe"; DestDir: "{app}\bin"; Flags: ignoreversion
Source: "..\package\Windows\uninstall.bat"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Icons]
Name: "{group}\GMosh"; Filename: "{app}\bin\gmoshui.exe"
Name: "{commondesktop}\GMosh"; Filename: "{app}\bin\gmoshui.exe"; Tasks: desktopicon
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\GMosh"; Filename: "{app}\bin\gmoshui.exe"; Tasks: quicklaunchicon

[Run]
Filename: "{src}\install.bat"
Filename: "{app}\bin\gmoshui.exe"; Description: "{cm:LaunchProgram,GMosh}"; Flags: nowait postinstall skipifsilent

[UninstallRun]
Filename: "{app}\uninstall.bat"<commit_msg>Gmosh as default for gma files<commit_after>; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

[Setup]
; NOTE: The value of AppId uniquely identifies this application.
; Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{4F5E5D42-3F61-411D-B38A-2A612586A8B5}
AppName=GMosh
AppVersion=2.0
;AppVerName=GMosh 2.0
AppPublisher=FPtje
AppPublisherURL=https://github.com/FPtje/gmosh
AppSupportURL=https://github.com/FPtje/gmosh
AppUpdatesURL=https://github.com/FPtje/gmosh
DefaultDirName={pf}\gmosh
DisableDirPage=yes
DefaultGroupName=gmoshui
AllowNoIcons=yes
OutputDir=C:\Users\falco\Documents\Programs\gmosh\installer
OutputBaseFilename=setup
SetupIconFile=C:\Users\falco\Documents\Programs\gmosh\res\icon.ico
Compression=lzma
SolidCompression=yes

[Setup]
ArchitecturesInstallIn64BitMode=x64 ia64

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags:
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: ; OnlyBelowVersion: 0,6.1

[Files]
;Source: "C:\Program Files\gmosh\bin\gmoshui.exe"; DestDir: "{app}\bin"; Flags: ignoreversion
;Source: "C:\Program Files\gmosh\bin\gmosh.exe"; DestDir: "{app}\bin"; Flags: ignoreversion
Source: "..\package\Windows\uninstall.bat"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Icons]
Name: "{group}\GMosh"; Filename: "{app}\bin\gmoshui.exe"
Name: "{commondesktop}\GMosh"; Filename: "{app}\bin\gmoshui.exe"; Tasks: desktopicon
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\GMosh"; Filename: "{app}\bin\gmoshui.exe"; Tasks: quicklaunchicon

[Run]
Filename: "{src}\install.bat"
Filename: "{app}\bin\gmoshui.exe"; Description: "{cm:LaunchProgram,GMosh}"; Flags: nowait postinstall skipifsilent

[Registry]
Root: HKCR; Subkey: ".gma"; ValueType: string; ValueName: ""; ValueData: "gmoshui"; Flags: uninsdeletevalue
Root: HKCR; Subkey: "gmoshui"; ValueType: string; ValueName: ""; ValueData: "gmoshui"; Flags: uninsdeletekey
Root: HKCR; Subkey: "gmoshui\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\bin\gmoshui.exe,0"
Root: HKCR; Subkey: "gmoshui\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\bin\gmoshui.exe"" ""%1"""

[UninstallRun]
Filename: "{app}\uninstall.bat"
{'fraction_non_alphanumeric': 0.14507882403067746, 'fraction_numerical': 0.01533873029399233, 'mean_word_length': 7.122837370242214, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6573393', 'n_tokens_mistral': 1754, 'n_tokens_neox': 1610, 'n_words': 368}