diff --git a/rdgenerator/forms.py b/rdgenerator/forms.py index 2b73573..1dfb011 100644 --- a/rdgenerator/forms.py +++ b/rdgenerator/forms.py @@ -3,7 +3,7 @@ from PIL import Image class GenerateForm(forms.Form): #Platform - platform = forms.ChoiceField(choices=[('windows','Windows'),('linux','Linux (currently unavailable)'),('android','Android'),('macos','macOS')], initial='windows') + platform = forms.ChoiceField(choices=[('windows','Windows 64Bit'),('windows-x86','Windows 32Bit'),('linux','Linux'),('android','Android'),('macos','macOS')], initial='windows') version = forms.ChoiceField(choices=[('master','nightly'),('1.4.2','1.4.2'),('1.4.1','1.4.1'),('1.4.0','1.4.0'),('1.3.9','1.3.9'),('1.3.8','1.3.8'),('1.3.7','1.3.7'),('1.3.6','1.3.6'),('1.3.5','1.3.5'),('1.3.4','1.3.4'),('1.3.3','1.3.3')], initial='1.4.2') help_text="'master' is the development version (nightly build) with the latest features but may be less stable" delayFix = forms.BooleanField(initial=True, required=False) @@ -66,6 +66,7 @@ class GenerateForm(forms.Form): enableRecording = forms.BooleanField(initial=True, required=False) enableBlockingInput = forms.BooleanField(initial=True, required=False) enableRemoteModi = forms.BooleanField(initial=False, required=False) + hidecm = forms.BooleanField(initial=False, required=False) #Other removeWallpaper = forms.BooleanField(initial=True, required=False) @@ -76,7 +77,6 @@ class GenerateForm(forms.Form): #custom added features cycleMonitor = forms.BooleanField(initial=False, required=False) xOffline = forms.BooleanField(initial=False, required=False) - hidecm = forms.BooleanField(initial=False, required=False) removeNewVersionNotif = forms.BooleanField(initial=False, required=False) def clean_iconfile(self): diff --git a/rdgenerator/templates/generated.html b/rdgenerator/templates/generated.html index 609a407..5f7ecce 100644 --- a/rdgenerator/templates/generated.html +++ b/rdgenerator/templates/generated.html @@ -129,6 +129,8 @@ {% if platform == 'windows' %} Download {{filename}}.exe Download {{filename}}.msi + {% elif platform == 'windows-x86' %} + Download {{filename}}.exe {% elif platform == 'linux' %} Download {{filename}}-x86_64.deb Download {{filename}}-x86_64.rpm @@ -177,7 +179,7 @@ platformLogos.macos.style.display = 'block'; platformNote.textContent = 'Note: For macOS, you may need to adjust security settings to run the application.'; platformNote.style.display = 'block'; - } else if (platform === 'windows') { + } else if (platform === 'windows' || platform === 'windows-x86') { document.getElementById('pageTitle').textContent = 'Windows Build Generated'; platformLogos.windows.style.display = 'block'; platformNote.textContent = 'Note: You might need to disable SmartScreen or adjust Windows security settings.'; @@ -199,4 +201,4 @@ updatePlatformUI(); -{{ ... }} \ No newline at end of file +{{ ... }} diff --git a/rdgenerator/templates/generator.html b/rdgenerator/templates/generator.html index 44dee9e..1c70d96 100644 --- a/rdgenerator/templates/generator.html +++ b/rdgenerator/templates/generator.html @@ -233,7 +233,8 @@