kanriapp / kanri

🪐 Modern offline Kanban board app for Windows, MacOS and Linux. Built with simplicity and user experience in mind.
https://kanriapp.com
GNU General Public License v3.0
748 stars 63 forks source link

Consider a portable release version? #325

Open Snippet24816 opened 1 year ago

Snippet24816 commented 1 year ago

So that way I can store it in my external drive and carry them everywhere.. Thanks for developing this :)

trobonox commented 1 year ago

Interesting idea, thanks for the suggestion. I'm not 100% sure how that would work with Tauri, but I can look into it. No guarantees and this is not a very high priority at the moment, so it might take a while until anything happens here.

Snippet24816 commented 1 year ago

Thanks to you :)

No guarantees and this is not a very high priority at the moment, so it might take a while until anything happens here.

Alright :)

Snippet24816 commented 1 year ago

btw I can post here more info on what is a portable app and their advantages.. if you are interested.

SamuelePilleri commented 5 months ago

I really like the app but because of corporate restrictions I cannot install it on my PC. A portable version would fix the issue. Also, it could be distributed on open source installers like scoop easily.

aliesbelik commented 4 months ago

Requested for scoop in ScoopInstaller/Extras#13561 but not fully portable because of limitations.

JohnTHaller commented 1 month ago

It's not exactly what you're looking for, but I packaged up Kanri Portable as a portable app in PortableApps.com Format. It moves the tech.trobonox.kanri folder to/from the local APPDATA directory, backing up anything there before running and restoring it on exit. The launcher also adjusts paths within .kanri.dat so that custom backgrounds and such continue to work as you move PCs. The launcher (KanriPortable.exe) that handles portablization and the installer (.paf.exe) it is packaged in are both open source under the GPL.

trobonox commented 1 month ago

It's not exactly what you're looking for, but I packaged up Kanri Portable as a portable app in PortableApps.com Format. It moves the tech.trobonox.kanri folder to/from the local APPDATA directory, backing up anything there before running and restoring it on exit. The launcher also adjusts paths within .kanri.dat so that custom backgrounds and such continue to work as you move PCs. The launcher (KanriPortable.exe) that handles portablization and the installer (.paf.exe) it is packaged in are both open source under the GPL.

Thanks for making this work John! Unless I figure out a solution of my own in the near future, this is the recommended way to get a portable version of Kanri on Windows.

PS (to John): Not sure whether you received my email and/or if I missed a reply from your end. I've been having some issues with my email provider that have hopefully been resolved now. There's no extra communication needed from my end, but in case there's anything that's gone under the radar and needs my attention please do let me know.

Snippet24816 commented 1 month ago

Great news!! Thank you so much John. I just tried downloading right away and it seems it doesn't start in Windows 7 maybe is because of the OS version or maybe because is a computer where Kanri wasn't installed previously?

JohnTHaller commented 1 month ago

Great news!! Thank you so much John. I just tried downloading right away and it seems it doesn't start in Windows 7 maybe is because of the OS version or maybe because is a computer where Kanri wasn't installed previously?

In my testing, the current release only works on Windows 10/11 64-bit. It failed to start under my Windows 7 and 8.1 virtual machines.

Snippet24816 commented 1 month ago

@JohnTHaller Thanks for clarifying :+1: @trobonox Is there an older W7 supported version? If yes which is the most recent one? I have seen "legacy versions" with other PortableApps packages, maybe if there's an older version of Kanri that runs on W7 could make sense to have a PA package for it as well?

trobonox commented 1 month ago

@trobonox Is there an older W7 supported version? If yes which is the most recent one? I have seen "legacy versions" with other PortableApps packages, maybe if there's an older version of Kanri that runs on W7 could make sense to have a PA package for it as well?

I'm not aware of any Kanri version supporting Windows 7 unfortunately. I only develop for fairly modern operating systems, in this case Windows 10 and higher and don't provide support for anything older than that. This is primarily because I don't have the resources to guarantee legacy support (because development has mostly been a solo effort). Sorry about the inconvenience.

Snippet24816 commented 1 month ago

I'm not aware of any Kanri version supporting Windows 7 unfortunately. I only develop for fairly modern operating systems, in this case Windows 10 and higher and don't provide support for anything older than that. This is primarily because I don't have the resources to guarantee legacy support (because development has mostly been a solo effort). Sorry about the inconvenience.

Thanks for clarifying/explaining and is completely understandable :+1: :)

JohnTHaller commented 1 month ago

I investigated further and even Kanri 0.1.0 won't run on Windows 7 or 8.0. I added the ability to detect whether Microsoft Edge WebView2 is installed on the local machine and offer to install it in non-admin mode. This Kanri Portable 0.7.1 Rev 2 release now works on Windows 8.1 as well as on 10/11. I could also have it working on 8.0 by adding in the Visual C 14.28.29913 runtimes, but that would more than double the install size and 8.0 isn't really used anymore.

Snippet24816 commented 1 week ago

Thanks John for confirming and testing :+1: :) Question: should I close the thread?

trobonox commented 1 week ago

Thanks John for confirming and testing 👍 :) Question: should I close the thread?

If you are happy with the PortableApps.com version and it works for you, feel free to close the issue.

(If you're reading this John, just fyi: Kanri v0.8 has been released, I know it takes a while to package and release so there's no rush, but there is a fairly important bugfix included so it would be great to have that out on PortableApps.com too)

SamuelePilleri commented 1 week ago

Question: should I close the thread?

I remember the entire point of making a portable version turned around some Rust dependency, tauri-plugin-store and perhaps something related to vcredist, but for a true portable version those would be required in my opinion. I wouldn't rely on a third party workaround.

lyndsay9968 commented 1 week ago

I support this proposal. Maybe a portable version would avoid this problem https://github.com/kanriapp/kanri/issues/710

JohnTHaller commented 1 week ago

I support this proposal. Maybe a portable version would avoid this problem #710

It won't, unfortunately. WebView2 needs to be installed locally for Kanri to function. That's why the PortableApps.com package of it checks this on startup and offers to run the installer if it is not present.

lyndsay9968 commented 1 week ago

I didn't think it was a hard requirement since versions for other operating systems are available. 🤔

JohnTHaller commented 1 week ago

Thanks John for confirming and testing 👍 :) Question: should I close the thread?

If you are happy with the PortableApps.com version and it works for you, feel free to close the issue.

(If you're reading this John, just fyi: Kanri v0.8 has been released, I know it takes a while to package and release so there's no rush, but there is a fairly important bugfix included so it would be great to have that out on PortableApps.com too)

It's just been posted. Also added a check for the needed VC runtimes on Windows 8.0 in addition to checking for and offering WebView2 to be installed sans admin rights.