-
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
Add rainmeter-portable: feedback needed #2021
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix for post_install will follow
Using the overwrite mode is a neat trick. 😄 |
], | ||
"bin": [ | ||
"Rainmeter.exe", | ||
"SkinInstaller.exe" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it really neede to shim SkinInstaller?? Does this have some command line handler?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can pass skin file to it, that's as far as I know, I just iterated on existing rainmeter.json.
Yeah, the second portion of binaries is the "64-bit mode" option in installer. The existing rainmeter.json does this as well, just the default mode is "always overwrite". |
How would I go about naming the shortcut: "Rainmeter (portable)" will allow for two shortcuts from |
No need to |
ref: ScoopInstaller/Extras#2021 (comment), #3204 (comment) - Add new param `Overwrite` to `Expand-7ZipArchive`, with following values - "All": 7z param `-aoa`, overwrite All existing files without prompt, behave the same with default - "Skip": 7z param `-aos`, Skip extracting of existing files - "Rename": 7z param `-aou`, aUto rename extracting file - Add new param `Switches` to `Expand-7ZipArchive` and `Expand-InnoArchive` - It could pass all unrecognized params to `7z` and `innounp` - Patch `extract_7zip` and `unpack_inno` to adapt to `Expand-XXX` Usage: ScoopInstaller/Extras#2021, ScoopInstaller/Extras#2070
There was a problem with unpacking different architectures in #694. Looking for input on this solution: it works, persistence isn't trivial here, but to my knowledge I managed to persist everything.
"if((Get-Content \"$dir\\Rainmeter.ini\") -eq $Null) { Copy-Item \"$dir\\Defaults\\Layouts\\illustro default\\Rainmeter.ini\", \"$dir\\Defaults\\Skins\", \"$dir\\Defaults\\Layouts\" \"$persist_dir\" -Force -Recurse | Out-Null }",
makes default welcome skins appear on new installation."if(Test-Path \"$dir\\Plugins.original\") { Copy-Item \"$dir\\Plugins.original\\*\" \"$persist_dir\\Plugins\" -Force -Recurse; Remove-Item \"$dir\\Plugins.original\" -Force -Recurse | Out-Null }",
updates default plugins in case of an update.