rbreu / beeref

BeeRef Reference Image Viewer
GNU General Public License v3.0
512 stars 38 forks source link

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

Open Hunanbean-Collective opened 3 months ago

Hunanbean-Collective commented 3 months ago

Suggesting a Portable Version that does not require Admin rights

Thanks

teamcons commented 3 months ago

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

Hunanbean-Collective commented 3 months ago

And that also has no "false positives" image

Thanks

Hunanbean-Collective commented 3 months ago

"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

luukgb commented 2 months ago

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.