diff --git a/.gitignore b/.gitignore index 4511167f..0784229b 100644 --- a/.gitignore +++ b/.gitignore @@ -48,4 +48,9 @@ lib/generated_plugin_registrant.dart /android/key.properties **/android/app/.cxx android/key.jks -lib/l10n_old \ No newline at end of file +lib/l10n_old + +Fluffychat.wixobj +PFiles +Fluffychat.wixpdb +Fluffychat.msi \ No newline at end of file diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3c08604e..382a9baa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -53,7 +53,7 @@ build_web: build_windows: extends: - .shared_windows_runners - stage: publish + stage: coverage script: # Install chocolately - Set-ExecutionPolicy Bypass -Scope Process @@ -73,6 +73,26 @@ build_windows: - main - tags +package_windows: + extends: + - .shared_windows_runners + needs: + - build_windows + stage: deploy + script: + - Invoke-WebRequest https://github.com/wixtoolset/wix3/releases/download/wix3112rtm/wix311-binaries.zip -OutFile .\wix.zip + - Expand-Archive -Path wix.zip -DestinationPath .\wix\ + - Invoke-WebRequest https://www.sqlite.org/2020/sqlite-dll-win64-x64-3330000.zip -OutFile .\sqlite3.zip + - Expand-Archive -Path sqlite3.zip -DestinationPath .\sqlite3\ + - Copy-Item ".\sqlite3.dll" -Destination ".\build\windows\runner\Release\" + - Invoke-WebRequest https://gitlab.com/famedly/libraries/olm/-/jobs/artifacts/master/raw/libolm.dll?job=build_win64 -OutFile libolm.dll + - Copy-Item ".\libolm.dll" -Destination ".\build\windows\runner\Release\" + - .\wix\candle.exe Fluffychat.wxs + - .\wix\light.exe Fluffychat.wixobj + only: + - main + - tags + build_android_debug: stage: coverage script: diff --git a/Fluffychat.wxs b/Fluffychat.wxs new file mode 100644 index 00000000..f1e7bcef --- /dev/null +++ b/Fluffychat.wxs @@ -0,0 +1,134 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file