Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggesting a Portable Version that does not require Admin rights #118

Open
Hunanbean-Collective opened this issue Jun 10, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@Hunanbean-Collective
Copy link

Hunanbean-Collective commented Jun 10, 2024

Suggesting a Portable Version that does not require Admin rights

Thanks

@Hunanbean-Collective Hunanbean-Collective added the enhancement New feature or request label Jun 10, 2024
@teamcons
Copy link

"hello", "please", and "thank you", may increase your chances.
On Linux theres an appimage.

@Hunanbean-Collective
Copy link
Author

And that also has no "false positives"
image

Thanks

@Hunanbean-Collective
Copy link
Author

"hello", "please", and "thank you", may increase your chances. On Linux theres an appimage.

It concerns me that the word 'Thanks' is no longer enough to sate the self appointed internet politeness authoritarions need for public displays of attempted domination.
Not only was that unnecessary, innapropriate for the forum, and also containing unrelated information, but is indicative of a need for you to find something useful to do with your abundant free time. Do make it unrelated to attempts at altering other peoples neutral behavior and expressions for your own tyrannical satisfaction.

and a double macchiato.

and stop pointlessly trolling on GitHub

@Hunanbean-Collective Hunanbean-Collective changed the title Requesting a Portable Version that does not require Admin rights Suggesting a Portable Version that does not require Admin rights Jul 2, 2024
@luukgb
Copy link

luukgb commented Jul 27, 2024

I have used PortableApps launcher (https://portableapps.com/apps/development/portableapps.com_launcher) to make BeeRef portable for Windows use.

I downloaded the application template from this page: https://portableapps.com/development

I created this folder structure:

D:\PortableApps\BeeRefPortable
D:\PortableApps\BeeRefPortable\App
D:\PortableApps\BeeRefPortable\App\AppInfo
D:\PortableApps\BeeRefPortable\App\AppInfo\Launcher
D:\PortableApps\BeeRefPortable\App\BeeRef

Then I added BeeRef.exe
D:\PortableApps\BeeRefPortable\App\BeeRef\BeeRef.exe

and created the portableapps ini files:
D:\PortableApps\BeeRefPortable\App\AppInfo.ini
`[Format]
Type=PortableAppsFormat
Version=3.8

[Details]
Name=BeeRef Portable
AppId=BeeRefPortable
Publisher=BeeRef contributors
Homepage=https://beeref.org/
Category=Graphics & Pictures
Description=A simple reference image viewer
Language=English

[License]
Shareable=true
OpenSource=true
Freeware=true
CommercialUse=true

[Version]
PackageVersion=0.3.3.0
DisplayVersion=0.3.3

[Control]
BaseAppID=%BASELAUNCHERPATH%\App\BeeRef\BeeRef.exe
Icons=1
Start=BeeRefPortable.exe
Name=BeeRef Portable
Description=A simple reference image viewer`

and

D:\PortableApps\BeeRefPortable\App\AppInfo\Launcher\BeeRefPortable.ini
`[Launch]
ProgramExecutable=BeeRef\BeeRef.exe
DirectoryMoveOK=yes
SupportsUNC=yes

[FileWrite1]
Type=Replace
File=%PAL:DataDir%\RoamingBeeRef\BeeRef.ini
Find=%PAL:LastDrive%\
Replace=%PAL:Drive%\

[DirectoriesMove]
RoamingBeeRef=%APPDATA%\BeeRef`

After that I simply ran the PortableAppsLauncher application to generate a launcher application.

The launcher moves the BeeRef folder created in "C:\Users%username%\Appdata\Roaming" to the Data folder in the BeeRefPortable folder when BeeRef is closed. When opened again it replaces the PortableApps drive letter if it has changed (for the recently opened files, assuming they have been stored on the same drive as where the portable app is run from) and moves the folder back to the Roaming folder while BeeRef is running.

As far as I have seen BeeRef does not write to Windows Registry or create files other than in the user Roaming folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants