Skip to content
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

[Bug]: Opera removed launcher.exe since v.115, need to fix install script #14596

Open
3 tasks done
useribs opened this issue Dec 19, 2024 · 3 comments
Open
3 tasks done
Labels

Comments

@useribs
Copy link

useribs commented Dec 19, 2024

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues/PRs to ensure it has not already been reported or fixed.
  • I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name

opera

Expected/Current Behaviour

Opera removed launcher.exe and scoop is not creating Desktop icon when installing/updating an app

Steps to Reproduce

scoop update opera
opera: 114.0.5282.222 -> 115.0.5322.109
WARN  Scoop uses 'aria2c' for multi-connection downloads.
WARN  Should it cause issues, run 'scoop config aria2-enabled false' to disable it.
WARN  To disable this warning, run 'scoop config aria2-warning-enabled false'.
Updating one outdated app:
Updating 'opera' (114.0.5282.222 -> 115.0.5322.109)
Downloading new version
Starting download with aria2 ...
Download: Download Results:
Download: gid   |stat|avg speed  |path/URI
Download: ======+====+===========+=======================================================
Download: c4e052|OK  |   9.1MiB/s|C:/Users/user/scoop/cache/opera#115.0.5322.109#a37bc0e.7z
Download: Status Legend:
Download: (OK):download completed.
Checking hash of Opera_115.0.5322.109_Setup_x64.exe ... ok.
Uninstalling 'opera' (114.0.5282.222)
Unlinking ~\scoop\apps\opera\current
Installing 'opera' (115.0.5322.109) [64bit] from 'extras' bucket
Loading Opera_115.0.5322.109_Setup_x64.exe from cache.
Extracting Opera_115.0.5322.109_Setup_x64.exe ... done.
Running installer script...done.
Linking ~\scoop\apps\opera\current => ~\scoop\apps\opera\115.0.5322.109

Creating shortcut for Opera (launcher.exe) failed: Couldn't find C:\Users\user\scoop\apps\opera\current\launcher.exe

Persisting profile
'opera' (115.0.5322.109) was installed successfully!

Possible Solution

https://blogs.opera.com/desktop/2024/01/opera-108-developer/

Scoop and Buckets Version

scoop --version
Current Scoop version:
859d1db5 (HEAD -> master, tag: v0.5.2, origin/master, origin/HEAD) chore(release): Bump to version 0.5.2 (#6080)

'main' bucket:
0095dbdbc (HEAD -> master, origin/master, origin/HEAD) xcaddy: Add version 0.4.4 (#6403)

'extras' bucket:
8a73f0962 (HEAD -> master, origin/master, origin/HEAD) yuescript: Update to version 0.26.1

Scoop Config

scoop config

last_update                       scoop_repo                              scoop_branch
-----------                       ----------                              ------------
2024-12-19T09:36:00.7036845+03:00 https://github.com/ScoopInstaller/Scoop master

PowerShell Version

Name                           Value
----                           -----
PSVersion                      5.1.22621.3958
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.22621.3958
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Additional Softwares

No response

@useribs useribs added the bug label Dec 19, 2024
@DavideCanton
Copy link

maybe it's easier to just have the link point to scoop/apps/opera/current/<version>/opera.exe?

@DavideCanton
Copy link

uhm, it seems that the shortcuts property in the manifest does not support $version, maybe it can be added?

@useribs
Copy link
Author

useribs commented Dec 19, 2024

Or post-install script can create junction pointing to $version/opera or something

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants