diff --git a/.github/workflows/generator-windows.yml b/.github/workflows/generator-windows.yml index f1c23da..6a72daa 100644 --- a/.github/workflows/generator-windows.yml +++ b/.github/workflows/generator-windows.yml @@ -584,11 +584,6 @@ jobs: run: | echo -n "${{ inputs.custom }}" | cat > ./rustdesk/custom.txt - - name: change permissions on custom.txt - shell: pwsh - run: | - icacls ./rustdesk/custom.txt /grant "Everyone:(OI)(CI)F" - - name: Build self-extracted executable shell: bash if: env.UPLOAD_ARTIFACT == 'true' diff --git a/rdgenerator/forms.py b/rdgenerator/forms.py index 768dcdc..fd5675c 100644 --- a/rdgenerator/forms.py +++ b/rdgenerator/forms.py @@ -4,7 +4,8 @@ from PIL import Image class GenerateForm(forms.Form): #Platform 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.4','1.4.4'),('1.4.3','1.4.3'),('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.4') + #version = forms.ChoiceField(choices=[('master','nightly'),('1.4.4','1.4.4'),('1.4.3','1.4.3'),('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.4') + version = forms.ChoiceField(choices=[('1.4.3','1.4.3'),('1.4.2','1.4.2')], initial='1.4.3') 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) diff --git a/rdgenerator/views.py b/rdgenerator/views.py index fa26634..73b56fb 100644 --- a/rdgenerator/views.py +++ b/rdgenerator/views.py @@ -250,8 +250,8 @@ def generator_view(request): return JsonResponse({"error": "Something went wrong"}) else: form = GenerateForm() - #return render(request, 'maintenance.html') - return render(request, 'generator.html', {'form': form}) + return render(request, 'maintenance.html') + #return render(request, 'generator.html', {'form': form}) def check_for_file(request):