Skip to content

feature request: Portable Windows Download #203

@sapioit

Description

@sapioit

What do you want to see?

Hi!
Please make a portable version of the app. It should not add much to the build time. There should be a windows option for that. And if not, just use the following script, which you can adapt with your app's name, and if you want to make an executable for the script, I found great success with the Bat To Exe Converter from BlindHelp.net.

Quick edit before the code: And once you make the executable once, you can reuse it for all future versions. Though you should also remember to change the visibility option (visible right when you open the app) to the "Invisible application" option. The only think that doesn't work work with the script below is the registry usage, for which you might need to make the app executable with the PortableApps.com app portabilizer, or at the very least contact them and give them written consent to make portable versions of your app, if you don't want to make it yourself, or at least have them make that for you to put on your website.

Quick edit 2 before the code: And please add the normal installer and the portable archive, to the download page, instead of sending the users to the github page. It allows those who don't want to spend time searching for a portable version, to get one, and it would also be more professional to offer download links for all the builds, directly from the website.

::echo PORTABLE APP LAUNCHER v5 by Sapioit

:: Creating Folders
if not exist "%~dp0$User\ProgramData" mkdir "%~dp0$User\ProgramData"
if not exist "%~dp0$User\Public" mkdir "%~dp0$User\Public"
if not exist "%~dp0$User\AppData\Roaming" mkdir "%~dp0$User\AppData\Roaming"
if not exist "%~dp0$User\Documents" mkdir "%~dp0$User\Documents"
if not exist "%~dp0$User\AppData\Local\Temp" mkdir "%~dp0$User\AppData\Local\Temp"
if not exist "%~dp0$User\ProgramData\Roaming" mkdir "%~dp0$User\ProgramData\Roaming"
if not exist "%~dp0$User\Desktop" mkdir "%~dp0$User\Desktop"
if not exist "%~dp0$User\Downloads" mkdir "%~dp0$User\Downloads"
if not exist "%~dp0$User\Favorites" mkdir "%~dp0$User\Favorites"
if not exist "%~dp0$User\Links" mkdir "%~dp0$User\Links"
if not exist "%~dp0$User\Music" mkdir "%~dp0$User\Music"
if not exist "%~dp0$User\Pictures" mkdir "%~dp0$User\Pictures"
if not exist "%~dp0$User\Saved Games" mkdir "%~dp0$User\Saved Games"
if not exist "%~dp0$User\Searches" mkdir "%~dp0$User\Searches"
if not exist "%~dp0$User\Videos" mkdir "%~dp0$User\Videos"

:: Setting Env Variables
set ALLUSERSPROFILE=%~dp0$User\ProgramData\Roaming
set APPDATA=%~dp0$User\AppData
set LOCALAPPDATA=%~dp0$User\AppData\Local
set HOMEPATH=%~dp0$User
set ProgramData=%~dp0$User\ProgramData
set Public=%~dp0$User\Public
set TEMP=%~dp0$User\AppData\Local\Temp
set TMP=%~dp0$User\AppData\Local\Temp
set USERPROFILE=%~dp0$User

:: if not exist "%dp0$User\Documents\" goto message
goto message
goto start

:message
:echo PORTABLE APP LAUNCHER
:echo -------------------------------
:pause 

:start
start $app._exe

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    🆕 Untriaged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions