diff --git a/.github/workflows/build-windows-executable-app-with-pyinstaller.yaml b/.github/workflows/build-windows-executable-app-with-pyinstaller.yaml index 43cd29a8..03b339cc 100644 --- a/.github/workflows/build-windows-executable-app-with-pyinstaller.yaml +++ b/.github/workflows/build-windows-executable-app-with-pyinstaller.yaml @@ -220,6 +220,9 @@ jobs: call myenv\Scripts\activate.bat pyinstaller --onefile --additional-hooks-dir ./hooks run_app.py --clean + - name: Set to offline deployment + run: | + jq '.online_deployment = true' settings.json > tmp.json && mv tmp.json settings.json - name: Copy everything to dist directory run: | diff --git a/.github/workflows/build-windows-executable-app.yaml b/.github/workflows/build-windows-executable-app.yaml index 2305e59b..1f37bd73 100644 --- a/.github/workflows/build-windows-executable-app.yaml +++ b/.github/workflows/build-windows-executable-app.yaml @@ -208,7 +208,11 @@ jobs: run: | echo '@echo off' > run_app.bat echo '.\\python-${{ env.PYTHON_VERSION }}\\python -m streamlit run app.py local' >> run_app.bat - + + - name: Set to offline deployment + run: | + jq '.online_deployment = true' settings.json > tmp.json && mv tmp.json settings.json + - name: Create All-in-one executable folder run: | mkdir streamlit_exe