Comments (6)
What's the best solution here?
- Removing the uninstall script? (e.g. jck112@20a9ac8)
- Adding a parameter to allow casks to skip uninstall on upgrade (e.g.
skip_uninstall_on_upgrade true
)? - Adding a mechanism to backup/restore files on upgrade?
- Give up on upgrading logi-options-plus using Homebrew?
from homebrew-cask.
Usually we have chosen to not use the in built installer and replicated the functionality in using our uninstall
options in Homebrew.
The methods that remove preferences and configuration can be moved to the zap
stanza instead of uninstall.
from homebrew-cask.
Okay thanks, I went ahead and uploaded #167500 to remove the uninstall script.
from homebrew-cask.
This may be more complicated than originally thought. It seems some of the paths and bundle ids have changed since the cask was originally created. There is now an additional "/Applications/Utilities/Logi Options+ Driver Installer.bundle/Logi Options+ Driver Installer.app" that contains a System Extension. For maintainability it's probably best to figure out some way to keep using the script.
from homebrew-cask.
While we should look to a better systematic approach, to resolve this in the short-term would require not using the script.
Many apps require changes every now and then to the uninstall stanza as the features change over time, so it is not unique to this situation.
from homebrew-cask.
Here are all the files that are installed in the latest version (1.64.527952):
logi-options-plus-files.txt
I updated the pull request with the correct files in the uninstall and zap stanzas. I tested repeated install/uninstall scenarios to ensure user-specific files are preserved correctly.
from homebrew-cask.
Related Issues (20)
- 115 has changed its installation method HOT 1
- An error occurred during software installation and cannot be resolved HOT 3
- Missing steelseries-exactmouse-tool from Homebrew/homebrew-cask-drivers HOT 3
- Unexpected method 'appcast' called on Cask winds HOT 9
- 404: prosys-opc-ua-browser HOT 1
- Unexpected method 'appcast' called on Cask near-lock. HOT 1
- brew outdated Error: Unexpected method 'appcast' called on Cask cryptobridge HOT 1
- Unexpected method 'appcast' called on Cask adoptopenjdk11 HOT 1
- zoom 6.0+ fails to install -- invalid path for downloaded package HOT 2
- Unexpected method 'appcast' called on Cask mongodb HOT 1
- Unable to install yandex-cloud-cli cask HOT 4
- Unexpected method 'appcast' called on Cask gfortran HOT 2
- vmware-fusion cask download failed HOT 6
- can't install bartender HOT 2
- [exelban/stats: v2.10.13] Error: SHA256 mismatch (followed all verification steps, error when trying to open PR)
- postman SHA256 mismatch when upgrade to 11.1.0 HOT 10
- github SHA256 Mismatch When Installing Version 3.3.18 HOT 8
- Convert scripts in `developer/bin` to Homebrew commands HOT 4
- Installing cask philips-hue-sync v1.12.0.64 fails with undefined method `rename' for nil HOT 4
- Cask texshop cannot be updated HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebrew-cask.