refactor: move scripts/ to support/scripts/
CI / format (push) Has been cancelled
CI / test (push) Has been cancelled
CI / packaging (push) Has been cancelled

This commit is contained in:
Tien Do Nam
2026-07-13 23:48:32 +02:00
parent ac42122f50
commit 747837ea9d
29 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ jobs:
- name: Extract version from Inno Setup configuration
id: inno_version
run: |
VERSION=$(grep '#define MyAppVersion ' scripts/compile_windows_exe-inno.iss | sed 's/#define MyAppVersion "//' | sed 's/"//')
VERSION=$(grep '#define MyAppVersion ' support/scripts/compile_windows_exe-inno.iss | sed 's/#define MyAppVersion "//' | sed 's/"//')
echo "Inno Setup version is $VERSION"
echo "inno_version=$VERSION" >> $GITHUB_ENV
+1 -1
View File
@@ -32,7 +32,7 @@ jobs:
uses: actions/checkout@v6
- name: Remove proprietary dependencies
run: sh scripts/remove_proprietary_dependencies.sh
run: sh support/scripts/remove_proprietary_dependencies.sh
- name: Copy files to env.APK_BUILD_DIR
run: |
+1 -1
View File
@@ -58,7 +58,7 @@ jobs:
cp app/assets/img/logo-256.png AppDir/usr/share/icons/hicolor/256x256/apps/localsend.png
- name: Copy Recipe to correct location
run: cp scripts/appimage/AppImageBuilder_arm_64.yml AppImageBuilder.yml
run: cp support/build/appimage/AppImageBuilder_arm_64.yml AppImageBuilder.yml
- name: Build AppImage
uses: AppImageCrafters/build-appimage@57c3bc6963f870ce3be103117de5b5e33ffbaeb6
+5 -5
View File
@@ -32,7 +32,7 @@ jobs:
uses: actions/checkout@v6
- name: Remove proprietary dependencies
run: sh scripts/remove_proprietary_dependencies.sh
run: sh support/scripts/remove_proprietary_dependencies.sh
- name: Copy files to env.APK_BUILD_DIR
run: |
@@ -318,7 +318,7 @@ jobs:
cp app/assets/img/logo-256.png AppDir/usr/share/icons/hicolor/256x256/apps/localsend.png
- name: Copy Recipe to correct location
run: cp scripts/appimage/AppImageBuilder_x86_64.yml AppImageBuilder.yml
run: cp support/build/appimage/AppImageBuilder_x86_64.yml AppImageBuilder.yml
- name: Build AppImage
uses: AppImageCrafters/build-appimage@57c3bc6963f870ce3be103117de5b5e33ffbaeb6
@@ -362,9 +362,9 @@ jobs:
- name: Add DLL files
working-directory: app
run: |
Copy-Item ../scripts/windows/x64/msvcp140.dll build/windows/x64/runner/Release/
Copy-Item ../scripts/windows/x64/vcruntime140.dll build/windows/x64/runner/Release/
Copy-Item ../scripts/windows/x64/vcruntime140_1.dll build/windows/x64/runner/Release/
Copy-Item ../support/build/windows/x64/msvcp140.dll build/windows/x64/runner/Release/
Copy-Item ../support/build/windows/x64/vcruntime140.dll build/windows/x64/runner/Release/
Copy-Item ../support/build/windows/x64/vcruntime140_1.dll build/windows/x64/runner/Release/
- name: Zip compiled files
working-directory: app
+3 -3
View File
@@ -52,9 +52,9 @@ jobs:
- name: Add DLL files
working-directory: app
run: |
Copy-Item ../scripts/windows/x64/msvcp140.dll build/windows/x64/runner/Release/
Copy-Item ../scripts/windows/x64/vcruntime140.dll build/windows/x64/runner/Release/
Copy-Item ../scripts/windows/x64/vcruntime140_1.dll build/windows/x64/runner/Release/
Copy-Item ../support/build/windows/x64/msvcp140.dll build/windows/x64/runner/Release/
Copy-Item ../support/build/windows/x64/vcruntime140.dll build/windows/x64/runner/Release/
Copy-Item ../support/build/windows/x64/vcruntime140_1.dll build/windows/x64/runner/Release/
- name: Zip compiled files
working-directory: app

Before

Width:  |  Height:  |  Size: 113 B

After

Width:  |  Height:  |  Size: 113 B

@@ -23,7 +23,7 @@ rm -f LocalSend.dmg
create-dmg \
--volname "LocalSend" \
--window-size 500 300 \
--background "../scripts/dmg/background.png" \
--background "../support/build/dmg/background.png" \
--icon LocalSend.app 130 110 \
--app-drop-link 360 110 \
LocalSend.dmg \
@@ -64,7 +64,7 @@ Name: "slovenian"; MessagesFile: "compiler:Languages\Slovenian.isl"
Name: "spanish"; MessagesFile: "compiler:Languages\Spanish.isl"
Name: "turkish"; MessagesFile: "compiler:Languages\Turkish.isl"
Name: "ukrainian"; MessagesFile: "compiler:Languages\Ukrainian.isl"
Name: "chinesesimplified"; MessagesFile: ".\Languages\ChineseSimplified.isl"
Name: "chinesesimplified"; MessagesFile: "..\build\windows\inno\ChineseSimplified.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
@@ -13,9 +13,9 @@ Copy-Item -Path "assets\packaging\logo.ico" -Destination "D:\inno"
cd ..
Copy-Item -Path "scripts\windows\x64\*" -Destination "D:\inno" -Recurse
Copy-Item -Path "support\build\windows\x64\*" -Destination "D:\inno" -Recurse
Remove-Item "D:\inno-result" -Force -Recurse -ErrorAction SilentlyContinue
New-Item -ItemType Directory -Force -Path "D:\inno-result"
iscc .\scripts\compile_windows_exe-inno.iss
iscc .\support\scripts\compile_windows_exe-inno.iss
Write-Output 'Generated Windows exe installer!'
@@ -1,4 +1,4 @@
# Downloads the MSIX signed by Microsoft
# This is useful to publish the MSIX outside of the store
# Original script can be found in https://github.com/MattiasC85/Scripts/blob/master/OSD/Download-AppxFromStore.ps1
.\scripts\msix\msix_downloader.ps1 -StoreURL https://www.microsoft.com/store/productId/9NCB4Z0TZ6RR
.\support\scripts\msix\msix_downloader.ps1 -StoreURL https://www.microsoft.com/store/productId/9NCB4Z0TZ6RR