From 59b00538471caae863dd5f1afca896b2125ba474 Mon Sep 17 00:00:00 2001 From: Arslan Date: Wed, 27 Nov 2024 00:45:19 +0100 Subject: [PATCH] create desktop shortcut --- .github/workflows/test-win-exe-w-embed-py.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-win-exe-w-embed-py.yaml b/.github/workflows/test-win-exe-w-embed-py.yaml index 5fda838c..a957d884 100644 --- a/.github/workflows/test-win-exe-w-embed-py.yaml +++ b/.github/workflows/test-win-exe-w-embed-py.yaml @@ -86,9 +86,14 @@ jobs: echo ' ' >> streamlit_exe.wxs echo ' ' >> streamlit_exe.wxs echo ' ' >> streamlit_exe.wxs + echo ' ' >> streamlit_exe.wxs echo ' ' >> streamlit_exe.wxs + echo ' ' >> streamlit_exe.wxs + echo ' ' >> streamlit_exe.wxs + echo ' ' >> streamlit_exe.wxs + echo ' ' >> streamlit_exe.wxs echo ' > streamlit_exe.wxs - echo ' ExeCommand="cmd.exe /c echo This is readme > [INSTALLFOLDER]Readme.txt" />' >> streamlit_exe.wxs + echo ' ExeCommand="cmd.exe /c echo Launch the ${{ env.APP_NAME }} by double-clicking the ${{ env.APP_NAME }}.bat file > [INSTALLFOLDER]Readme.txt" />' >> streamlit_exe.wxs echo ' > streamlit_exe.wxs echo ' ExeCommand="cmd.exe /c echo @echo off > [INSTALLFOLDER]temp.bat && echo [INSTALLFOLDER]python-${{ env.PYTHON_VERSION }}\\python.exe -m streamlit run [INSTALLFOLDER]app.py local >> [INSTALLFOLDER]${{ env.APP_NAME }}.bat" />' >> streamlit_exe.wxs echo ' > streamlit_exe.wxs