-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Making it possible to recreate/resync scoop windows start menu shortcuts for increased portability #4562
Comments
This can already be done with the |
Confirming that your suggest to use When sharing scoop folder on a partition on VHDX between multi-boot Windows-host-OS or VMs
However, on subsequent machines, As links inside scoop directory have been fixed, only the windows start-menus need to be recreated. So I think there can be a time optimization can be done as
This is related to my effort to move scoop into a VHDX file Please consider reopening issue. |
How much time would you expect to save with the optimization? I don't think the flag is worth the effort. |
In general
One might choose what to and what not to reset The primary purpose of "scoop reset" was to cause the shims of one version of the app
One needs to separate
IMHO, best way to do this is to have two directories
I could alternately, copy shortcuts over from the first machine the shortcuts were reset to subsequent machines. |
I moved scoop from the SDD to a VHDX on the HDD, After some troubleshooting and junction repairing, I got to the point where I was ready to do a scoop reset. I think the scoop-reset took about 15 minutes. But this is not a one time repair. It will repeat forever. Let's say
This is because each machine that uses the shared-scoop needs to made uptodate when apps are updated from another machine. I have about 35 apps that update every once in a while. So this scoop resetting will need to be done on many machines and every week depending on how urgent it is to get the shortcuts in sync Slower the machine/HDD more the time.
The two semantics should not be clubbed for portability. So
I think I've made my case, that, in this use case, a lot of time will be spent on a recurring basis, and I think you see my point. With increasing VM and multiboot users and situations, I think this is going to be more commonplace and more users may bring this up. |
It is a very peculiar use case, frankly I'm seeing it for the first time here. The fact that you have to do The semantics of |
Scoop creates windows shortcuts in
When scoop is cooperatively managed from two Windows-OS-es/scoop-managing-admin-logins, the App windows-shortcut is created in only one place.
Use-cases:
One way to accomplish this is
scoop syncshortcuts
subcommand to refresh both Start Menu folder of current OS and login of current scoop-managing-admin. This can be automatically invokes on scoop-managing-admin who does the update, but needs to be manually executed by the scoop-managing-admin on different OS-u
,-g
to sync only that of scoop-admin-user, or only that in the global start-menunote that
Another idea I got while typing the above is: instead of hard-coding the windows path of exe/icon/start-folder into the windows shortcut what if it referred to them via the environment variables SCOOP and SCOOP_GLOBAL. Then maybe syncshortcuts would just have to copy/resync the local OS/scoop-managing-admin StartMenu folders.
This issue requires/depends/is also related to #4498 (Making it possible to store Scoop config in the root directory for increased portability) which is also meant to increase portability
The text was updated successfully, but these errors were encountered: