Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
habedi committed Jan 17, 2025
1 parent 1f35adc commit b92a54b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions client/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ func isTokenValid(user *db.User) bool {
func createChromeContext(headless bool) (context.Context, context.CancelFunc) {
// Check if Google Chrome or Chromium is available in the path
var execPath string
if path, err := exec.LookPath("chromium"); err == nil {
if path, err := exec.LookPath("google-chrome"); err == nil {
execPath = path
} else if path, err := exec.LookPath("google-chrome"); err == nil {
} else if path, err := exec.LookPath("chromium"); err == nil {
execPath = path
} else if path, err := exec.LookPath("chrome"); err == nil {
execPath = path
Expand Down
6 changes: 3 additions & 3 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: gogg
version: '0.1.0'
version: '0.1.1'
summary: Gogg downloader
description: |
Gogg is a minimalistic command-line tool for downloading game files from GOG.com.
Expand All @@ -9,8 +9,8 @@ description: |
For more information, please see Gogg's documentation on GitHub (https://github.com/habedi/gogg/docs/README.md).
base: core24
confinement: strict
grade: devel
confinement: classic
grade: stable
compression: lzo
assumes:
- snapd2.54 # Minimum version of Snapd required
Expand Down

0 comments on commit b92a54b

Please sign in to comment.