Giter Site home page Giter Site logo

itch-setup's Introduction

itch-setup

This is the install and self-update helper for the itch.io app

It applies a few tricks it learned from Squirrel.Mac and Squirrel.Windows, and uses some of the same technology behind butler, itch.io's command line uploader and patcher.

What does it look like?

Something like this:

This is a screen you should only see the first time you launch the itch.io app, or if your itch install gets corrupted on disk somehow.

Any upgrades happen seamlessly in the background.

License

itch-setup is MIT-licensed, see LICENSE for details

itch-setup's People

Contributors

fasterthanlime avatar leafo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

itch-setup's Issues

Help

Что-то пошло не так зуд-setup, v1. 18. 0, построенный на Apr 10 2019 @ 04: 29: 17, ref 57838bc удалить C:\Users[MYUSERNAME]\AppData\Local\itch\app-25.4.0\blink_image_resources_200_percent.Пак: процесс не может получить доступ к файлу, потому что он используется другим процессом. убедитесь, что папка ready version не существует ошибка во время прогрева itchio/itch.io#984

Butler path not working

Following the instructions for setting up Butler to be in your path does not work.

https://itch.io/docs/butler/installing.html

On Linux this:
export PATH="$PATH:$HOME/.config/itch/apps/butler"
had to be changed to:
export PATH="$PATH:$HOME/.config/itch/broth/butler/versions/15.12.0"

Then it worked but will break if updated version.

Had the same problem on windows10

Install itch.app crash on macOS

Basic facts

itch-setup is a golang app. "Install itch.app" is a regular app bundle.

The app bundle is signed, and the DMGs are signed. spctl and codesign are both happy with it.

"Install itch.app" findings:

  • Extracted .zip = fails on first open, succeeds on second
  • Mounted dmg = fails on open until you check "Don't ask me again for this volume" and open again
  • ditto'd from dmg = works on open

xattrs

dmg xattr for com.apple.quarantine

0183;5bc99105;Safari;84A9D2E3-A14A-4E55-AFEE-4D0A79E3010B

The important part are the first four characters, which are flags: 0183.

Setting this xattr value for com.apple.quarantine on Install itch.app reliably makes it:

  • Pop up a Gatekeeper dialog
  • Then pop up in the Dock, then crash

image

GIF capture:

install-itch-crash

After cancelling open: com.apple.quarantine has flags 01a3.
After confirming open, com.apple.quarantine has flags 01e3.

Working theory

The app is ran differently the first time when it has that xattr and you pick "Open" in the gatekeeper dialog.

  • It doesn't seem to matter that it's in ~/Downloads, ~/Applications or /Applications
  • what matters isthe xattr

When ran from the DMG;

  • The DMG file has the quarantine xattr
  • The app bundle inside the mounted volume does not have the quarantine xattr
  • Picking "Open" in the dialog makes itch-setup crash (the Launch Service Monitor duly notes that our app exited)
  • Picking "Don't ask again for apps in this volume" probably sets DMG's com.apple.quarantine xattr flags to 01e3.

Something went wrong itch-setup, v1.18.0, built on Apr 10 2019 @ 04:29:17, ref 57838bc373361f2c8938336674247f869999e862 remove C:\Users\[MYUSERNAME]\AppData\Local\itch\app-25.4.0\blink_image_resources_200_percent.pak: The process cannot access the file because it is being used by another process. making sure ready version's folder does not exist Error during warm-up

Before this, whenever I launched Itch, some black and white pattern would just appear on the top left, so I uninstalled it, but a file stayed, I installed another launcher, but it has that error message, any tips?

Something went wrong on itch-setup

Something went wrong

itch-setup, v1.18.0, built on Apr 10 2019 @ 08:29:17, ref 57838bc

HTTP file not found on server
htfs.Open (initial request)
github.com/itchio/itch-setup/vendor/github.com/itchio/wharf/pwr.(*ArchiveHealer).heal
C:/Multi-Runner/builds/58469115/0/itchio/itch-setup/src/github.com/itchio/itch-setup/vendor/github.com/itchio/wharf/pwr/archive_healer.go:253
github.com/itchio/itch-setup/vendor/github.com/itchio/wharf/pwr.(*ArchiveHealer).Do.func3
C:/Multi-Runner/builds/58469115/0/itchio/itch-setup/src/github.com/itchio/itch-setup/vendor/github.com/itchio/wharf/pwr/archive_healer.go:102
runtime.goexit
C:/Go/src/runtime/asm_amd64.s:1337
github.com/itchio/itch-setup/vendor/github.com/itchio/wharf/pwr.(*ArchiveHealer).Do
C:/Multi-Runner/builds/58469115/0/itchio/itch-setup/src/github.com/itchio/itch-setup/vendor/github.com/itchio/wharf/pwr/archive_healer.go:209
github.com/itchio/itch-setup/vendor/github.com/itchio/wharf/pwr.(*ValidatorContext).Validate.func5
C:/Multi-Runner/builds/58469115/0/itchio/itch-setup/src/github.com/itchio/itch-setup/vendor/github.com/itchio/wharf/pwr/validator.go:138
runtime.goexit
C:/Go/src/runtime/asm_amd64.s:1337
while installing
Error during warm-up

Silent installation does not work, it installs non-silently.

$ ./itch-setup --help
usage: itch-setup [<flags>] [<args>...]

The itch installer and self-updater

Flags:
  -h, --help             Show context-sensitive help (also try --help-long and --help-man).
      --prefer-launch    Launch if a valid version of itch is installed
      --upgrade          Upgrade the itch app if necessary
      --uninstall        Uninstall the itch app
      --relaunch         Relaunch a new version of the itch app
      --relaunch-pid=RELAUNCH-PID  
                         PID to wait for before relaunching
      --appname=APPNAME  Application name (itch or kitch)
      --silent           Run installation silently
  -V, --version          Show application version.

Args:
  [<args>]  Arguments to pass down to itch (only supported on Linux & Windows)

But when I actually run ./itch-setup --silent, it installs, non-silently, showing both installer and the installed Itch. I would like to have working silent installation functionality for Linux-tools.

Version info:

$ ./itch-setup --version
v1.12.0, built on Oct  9 2018 @ 06:19:03, ref f34425d2a0952ca593d92c50679619eb4da0ad87

make sure that Itch gets installed in ``$HOME/.local/bin/`` instead of ``/bin/``

i use Debian Linux, and this distro's makers recommend not using installer scripts because

The make install script may make invalid assumptions about where the compiled binary and its associated files should exist in the filesystem and under what set of permissions / ownership it should run. Software installed this way could also replace important software vital to system and package maintenance, making it difficult to repair your system using standard Debian tools.

this makes me afraid of using the itch-setup program because i don't know beforehand if Itch will be installed in the correct location.

please make sure that the itch-setup program installs Itch at $HOME/.local/bin/ instead of /bin/ and document this

Any option to set install path?

I would like to install itch.io to a path different from ~/.itch. Is this possible right now, and if not, would it be easy to implement this feature?

Translation

Need a Korean Translation update. Updated Weblate.

itch-setup v1.26.0 linux errors but completes during setup, fails to launch

I ran https://itch.io/app/download?platform=linux per https://itch.io/docs/itch/installing/linux/ . See environment below and install logs attached.
itch-setup-log.txt
itch-setup-log-2024-04-25T11-47-53.062.txt

The install spat out a lot of errors but completed "successfully". Running ~/.itch/itch gave normal-looking CLI output (again see attached itch logs, and see below for output in other logs), and popped up a blank GUI window, which closed after a couple seconds. It does not seem to actually work at all other than that ~/.itch/itch-setup --uninstall does seem to work correctly.

$ uname -srvpio
Linux 6.5.0-28-generic #29~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr  4 14:39:20 UTC 2 x86_64 x86_64 GNU/Linux

$ md5sum ~/Downloads/itch-setup 
126844aebac4f517d56821a748044175  /home/saizai/Downloads/itch-setup

$ file  ~/Downloads/itch-setup 
/home/saizai/Downloads/itch-setup: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, Go BuildID=Vb1hZm8v9pq6SBXq66uA/pOqsXq87SEFRvwJsD5PG/uAYXZH4QBX1ZEzxmUhis/-9TnqU6pUiVY_mijz0GW, BuildID[sha1]=111cf6ee7287ff64b1e977f6ab2c1052523a31b1, stripped

$ apt list --installed | grep gtk

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

apport-gtk/jammy-updates,jammy-updates,now 2.20.11-0ubuntu82.5 all [installed,automatic]
gir1.2-gtk-3.0/jammy-updates,now 3.24.33-1ubuntu2 amd64 [installed,automatic]
gir1.2-gtk-4.0/jammy-updates,now 4.6.9+ds-0ubuntu0.22.04.1 amd64 [installed,automatic]
gir1.2-gtksource-4/jammy,now 4.8.3-1 amd64 [installed,automatic]
gir1.2-javascriptcoregtk-4.0/jammy-updates,jammy-security,now 2.44.0-0ubuntu0.22.04.1 amd64 [installed,automatic]
gstreamer1.0-gtk3/jammy-updates,jammy-security,now 1.20.3-0ubuntu1.1 amd64 [installed,automatic]
gtk-update-icon-cache/jammy-updates,now 3.24.33-1ubuntu2 amd64 [installed,automatic]
gtk2-engines-murrine/jammy,now 0.98.2-3build2 amd64 [installed,automatic]
gtk2-engines-pixbuf/jammy,now 2.24.33-2ubuntu2 amd64 [installed,automatic]
ibus-gtk3/jammy,now 1.5.26-4 amd64 [installed,automatic]
ibus-gtk4/jammy,now 1.5.26-4 amd64 [installed,automatic]
ibus-gtk/jammy,now 1.5.26-4 amd64 [installed,automatic]
libavahi-ui-gtk3-0/jammy-updates,jammy-security,now 0.8-5ubuntu5.2 amd64 [installed,automatic]
libcanberra-gtk3-0/jammy-updates,now 0.30-10ubuntu1.22.04.1 amd64 [installed,automatic]
libcanberra-gtk3-module/jammy-updates,now 0.30-10ubuntu1.22.04.1 amd64 [installed,automatic]
libcheese-gtk25/jammy,now 41.1-1build1 amd64 [installed,automatic]
libclutter-gtk-1.0-0/jammy,now 1.8.4-4build2 amd64 [installed,automatic]
libcolord-gtk1/jammy,now 0.3.0-1 amd64 [installed,automatic]
libdbusmenu-gtk3-4/jammy,now 16.04.1+18.10.20180917-0ubuntu8 amd64 [installed,automatic]
libgtk-3-0/jammy-updates,now 3.24.33-1ubuntu2 amd64 [installed,automatic]
libgtk-3-bin/jammy-updates,now 3.24.33-1ubuntu2 amd64 [installed,automatic]
libgtk-3-common/jammy-updates,jammy-updates,now 3.24.33-1ubuntu2 all [installed,automatic]
libgtk-4-1/jammy-updates,now 4.6.9+ds-0ubuntu0.22.04.1 amd64 [installed,automatic]
libgtk-4-bin/jammy-updates,now 4.6.9+ds-0ubuntu0.22.04.1 amd64 [installed,automatic]
libgtk-4-common/jammy-updates,jammy-updates,now 4.6.9+ds-0ubuntu0.22.04.1 all [installed,automatic]
libgtk2.0-0/jammy,now 2.24.33-2ubuntu2 amd64 [installed,automatic]
libgtk2.0-bin/jammy,now 2.24.33-2ubuntu2 amd64 [installed,automatic]
libgtk2.0-common/jammy,jammy,now 2.24.33-2ubuntu2 all [installed,automatic]
libgtk3-perl/jammy,jammy,now 0.038-1 all [installed,automatic]
libgtkmm-3.0-1v5/jammy,now 3.24.5-1build1 amd64 [installed,automatic]
libgtksourceview-4-0/jammy,now 4.8.3-1 amd64 [installed,automatic]
libgtksourceview-4-common/jammy,jammy,now 4.8.3-1 all [installed,automatic]
libjavascriptcoregtk-4.0-18/jammy-updates,jammy-security,now 2.44.0-0ubuntu0.22.04.1 amd64 [installed,automatic]
libreoffice-gtk3/jammy-updates,jammy-security,now 1:7.3.7-0ubuntu0.22.04.4 amd64 [installed,automatic]
libwebkit2gtk-4.0-37/jammy-updates,jammy-security,now 2.44.0-0ubuntu0.22.04.1 amd64 [installed,automatic]
libwmf-0.2-7-gtk/jammy,now 0.2.12-5ubuntu1 amd64 [installed,automatic]
libwmf0.2-7-gtk/jammy,now 0.2.12-5ubuntu1 amd64 [installed,automatic]
proton-vpn-gtk-app/unknown,now 4.3.0 all [installed,automatic]
python3-aptdaemon.gtk3widgets/jammy,jammy,now 1.1.1+bzr982-0ubuntu39 all [installed,automatic]
qt5-gtk-platformtheme/jammy-updates,now 5.15.3+dfsg-2ubuntu0.2 amd64 [installed,automatic]
software-properties-gtk/jammy-updates,jammy-updates,now 0.99.22.9 all [installed,automatic]
transmission-gtk/jammy-updates,now 3.00-2ubuntu2.1 amd64 [installed,automatic]
ubuntu-release-upgrader-gtk/jammy-updates,jammy-updates,now 1:22.04.19 all [installed,automatic]
usb-creator-gtk/jammy,jammy,now 0.3.13 all [installed,automatic]
xdg-desktop-portal-gtk/jammy,now 1.14.0-1build1 amd64 [installed,automatic]
xdg-user-dirs-gtk/jammy,now 0.10-3build2 amd64 [installed,automatic]
yaru-theme-gtk/jammy-updates,jammy-updates,now 22.04.5 all [installed,automatic]

$ tail -f /var/log/auth.log /var/log/apport.log /var/log/kern.log /var/log/syslog &
[1] 171337
[redacted]

$ ~/.itch/itch
2024/04/25 13:07:07 itch-setup will log to /tmp/itch-setup-log.txt
2024/04/25 13:07:07 =========================================
2024/04/25 13:07:07 itch-setup "v1.26.0, built on Apr 22 2021 @ 02:48:12, ref 48f97b3e7b0b065a2478811b8d0ebcae414845fd" starting up at "2024-04-25 13:07:07.312749045 +0100 BST m=+0.002542648" with arguments:
2024/04/25 13:07:07 "/home/saizai/.itch/itch-setup"
2024/04/25 13:07:07 "--prefer-launch"
2024/04/25 13:07:07 "--appname"
2024/04/25 13:07:07 "itch"
2024/04/25 13:07:07 "--"
2024/04/25 13:07:07 =========================================
2024/04/25 13:07:07 App name specified on command-line: itch
2024/04/25 13:07:07 Locale:  en-GB
2024/04/25 13:07:07 Initializing installer GUI...
2024/04/25 13:07:07 Using GTK UI
2024/04/25 13:07:07 Initializing (itch) multiverse @ (/home/saizai/.itch)
2024/04/25 13:07:07 (/home/saizai/.itch)(current = "25.6.2", ready = "")
2024/04/25 13:07:07 Launch preferred, attempting...
2024/04/25 13:07:07 Launching (25.6.2) from (/home/saizai/.itch/app-25.6.2)
2024/04/25 13:07:07 Kernel should support SUID sandboxing, leaving it enabled
2024/04/25 13:07:07 App launched, getting out of the way

$ 
==> /var/log/apport.log <==
ERROR: apport (pid 171437) Thu Apr 25 13:07:07 2024: called for pid 171400, signal 31, core limit 0, dump mode 1
ERROR: apport (pid 171437) Thu Apr 25 13:07:07 2024: executable: /home/saizai/.itch/app-25.6.2/itch (command line "/home/saizai/.itch/app-25.6.2/itch\ --type=gpu-process\ --field-trial-handle=12496871426163850490,9098033374409285962,131072\ --enable-features=WebComponentsV0Enabled\ --disable-features=CookiesWithoutSameSiteMustBeSecure,SameSiteByDefaultCookies,SpareRendererForSitePerProcess\ --gpu-preferences=OAAAAAAAAAAgAAAQAAAAAAAAAAAAAAAAAABgAAAAAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAA==\ --shared-files")
ERROR: apport (pid 171437) Thu Apr 25 13:07:07 2024: executable does not belong to a package, ignoring
ERROR: apport (pid 171442) Thu Apr 25 13:07:08 2024: called for pid 171438, signal 31, core limit 0, dump mode 1
ERROR: apport (pid 171442) Thu Apr 25 13:07:08 2024: executable: /home/saizai/.itch/app-25.6.2/itch (command line "/home/saizai/.itch/app-25.6.2/itch\ --type=gpu-process\ --field-trial-handle=12496871426163850490,9098033374409285962,131072\ --enable-features=WebComponentsV0Enabled\ --disable-features=CookiesWithoutSameSiteMustBeSecure,SameSiteByDefaultCookies,SpareRendererForSitePerProcess\ --gpu-preferences=OAAAAAAAAAAgAAAQAAAAAAAAAAAAAAAAAABgAAAAAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAA==\ --shared-files")
ERROR: apport (pid 171442) Thu Apr 25 13:07:08 2024: executable does not belong to a package, ignoring
ERROR: apport (pid 171447) Thu Apr 25 13:07:08 2024: called for pid 171443, signal 31, core limit 0, dump mode 1
ERROR: apport (pid 171447) Thu Apr 25 13:07:08 2024: executable: /home/saizai/.itch/app-25.6.2/itch (command line "/home/saizai/.itch/app-25.6.2/itch\ --type=gpu-process\ --field-trial-handle=12496871426163850490,9098033374409285962,131072\ --enable-features=WebComponentsV0Enabled\ --disable-features=CookiesWithoutSameSiteMustBeSecure,SameSiteByDefaultCookies,SpareRendererForSitePerProcess\ --gpu-preferences=OAAAAAAAAAAgAAAQAAAAAAAAAAAAAAAAAABgAAAAAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAA==\ --shared-files")
ERROR: apport (pid 171447) Thu Apr 25 13:07:08 2024: executable does not belong to a package, ignoring
ERROR: apport (pid 171451) Thu Apr 25 13:07:08 2024: called for pid 171448, signal 31, core limit 0, dump mode 1
ERROR: apport (pid 171451) Thu Apr 25 13:07:08 2024: executable: /home/saizai/.itch/app-25.6.2/itch (command line "/home/saizai/.itch/app-25.6.2/itch\ --type=gpu-process\ --field-trial-handle=12496871426163850490,9098033374409285962,131072\ --enable-features=WebComponentsV0Enabled\ --disable-features=CookiesWithoutSameSiteMustBeSecure,SameSiteByDefaultCookies,SpareRendererForSitePerProcess\ --gpu-preferences=OAAAAAAAAAAgAAAQAAAAAAAAAAAAAAAAAABgAAAAAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAA==\ --use-gl=swiftshader-webgl\ --shared-files")
ERROR: apport (pid 171451) Thu Apr 25 13:07:08 2024: executable does not belong to a package, ignoring
ERROR: apport (pid 171455) Thu Apr 25 13:07:08 2024: called for pid 171452, signal 31, core limit 0, dump mode 1
ERROR: apport (pid 171455) Thu Apr 25 13:07:08 2024: executable: /home/saizai/.itch/app-25.6.2/itch (command line "/home/saizai/.itch/app-25.6.2/itch\ --type=gpu-process\ --field-trial-handle=12496871426163850490,9098033374409285962,131072\ --enable-features=WebComponentsV0Enabled\ --disable-features=CookiesWithoutSameSiteMustBeSecure,SameSiteByDefaultCookies,SpareRendererForSitePerProcess\ --gpu-preferences=OAAAAAAAAAAgAAAQAAAAAAAAAAAAAAAAAABgAAAAAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAA==\ --use-gl=swiftshader-webgl\ --shared-files")
ERROR: apport (pid 171455) Thu Apr 25 13:07:08 2024: executable does not belong to a package, ignoring
ERROR: apport (pid 171463) Thu Apr 25 13:07:08 2024: called for pid 171456, signal 31, core limit 0, dump mode 1
ERROR: apport (pid 171463) Thu Apr 25 13:07:08 2024: executable: /home/saizai/.itch/app-25.6.2/itch (command line "/home/saizai/.itch/app-25.6.2/itch\ --type=gpu-process\ --field-trial-handle=12496871426163850490,9098033374409285962,131072\ --enable-features=WebComponentsV0Enabled\ --disable-features=CookiesWithoutSameSiteMustBeSecure,SameSiteByDefaultCookies,SpareRendererForSitePerProcess\ --gpu-preferences=OAAAAAAAAAAgAAAQAAAAAAAAAAAAAAAAAABgAAAAAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAA==\ --use-gl=swiftshader-webgl\ --shared-files")
ERROR: apport (pid 171463) Thu Apr 25 13:07:08 2024: executable does not belong to a package, ignoring
ERROR: apport (pid 171467) Thu Apr 25 13:07:08 2024: called for pid 171464, signal 31, core limit 0, dump mode 1
ERROR: apport (pid 171467) Thu Apr 25 13:07:08 2024: executable: /home/saizai/.itch/app-25.6.2/itch (command line "/home/saizai/.itch/app-25.6.2/itch\ --type=gpu-process\ --field-trial-handle=12496871426163850490,9098033374409285962,131072\ --enable-features=WebComponentsV0Enabled\ --disable-features=CookiesWithoutSameSiteMustBeSecure,SameSiteByDefaultCookies,SpareRendererForSitePerProcess\ --gpu-preferences=OAAAAAAAAAAgAAAQAAAAAAAAAAAAAAAAAABgAAAAAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAA==\ --use-gl=disabled\ --shared-files")
ERROR: apport (pid 171467) Thu Apr 25 13:07:08 2024: executable does not belong to a package, ignoring
ERROR: apport (pid 171471) Thu Apr 25 13:07:08 2024: called for pid 171468, signal 31, core limit 0, dump mode 1
ERROR: apport (pid 171471) Thu Apr 25 13:07:08 2024: executable: /home/saizai/.itch/app-25.6.2/itch (command line "/home/saizai/.itch/app-25.6.2/itch\ --type=gpu-process\ --field-trial-handle=12496871426163850490,9098033374409285962,131072\ --enable-features=WebComponentsV0Enabled\ --disable-features=CookiesWithoutSameSiteMustBeSecure,SameSiteByDefaultCookies,SpareRendererForSitePerProcess\ --gpu-preferences=OAAAAAAAAAAgAAAQAAAAAAAAAAAAAAAAAABgAAAAAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAA==\ --use-gl=disabled\ --shared-files")
ERROR: apport (pid 171471) Thu Apr 25 13:07:08 2024: executable does not belong to a package, ignoring
ERROR: apport (pid 171476) Thu Apr 25 13:07:08 2024: called for pid 171473, signal 31, core limit 0, dump mode 1
ERROR: apport (pid 171476) Thu Apr 25 13:07:08 2024: executable: /home/saizai/.itch/app-25.6.2/itch (command line "/home/saizai/.itch/app-25.6.2/itch\ --type=gpu-process\ --field-trial-handle=12496871426163850490,9098033374409285962,131072\ --enable-features=WebComponentsV0Enabled\ --disable-features=CookiesWithoutSameSiteMustBeSecure,SameSiteByDefaultCookies,SpareRendererForSitePerProcess\ --gpu-preferences=OAAAAAAAAAAgAAAQAAAAAAAAAAAAAAAAAABgAAAAAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAA==\ --use-gl=disabled\ --shared-files")
ERROR: apport (pid 171476) Thu Apr 25 13:07:08 2024: executable does not belong to a package, ignoring

==> /var/log/syslog <==
Apr 25 13:07:08 [redacted] kernel: [76177.988253] traps: Chrome_IOThread[171372] trap int3 ip:557a3b955649 sp:7f8fe9df9420 error:0 in itch[557a392f2000+6068000]

==> /var/log/kern.log <==
Apr 25 13:07:08 [redacted] kernel: [76177.988253] traps: Chrome_IOThread[171372] trap int3 ip:557a3b955649 sp:7f8fe9df9420 error:0 in itch[557a392f2000+6068000]

==> /var/log/apport.log <==
ERROR: apport (pid 171477) Thu Apr 25 13:07:08 2024: called for pid 171358, signal 5, core limit 0, dump mode 1
ERROR: apport (pid 171477) Thu Apr 25 13:07:08 2024: executable: /home/saizai/.itch/app-25.6.2/itch (command line "/home/saizai/.itch/app-25.6.2/itch")
ERROR: apport (pid 171477) Thu Apr 25 13:07:08 2024: executable does not belong to a package, ignoring

N.b. I do have Chrome itself installed, and it runs fine.

Missing libwinpthread-1.dll on Windows

Hi,

As reported on the forums, the Windows installer does not start right now due to a DLL dependency error: https://itch.io/t/840497/cant-install-app-due-to-missing-dll-file

Reproduction steps:

  • Download the installer from: https://itch.io/app
  • (This gives itch-setup.exe with md5sum of 7850a1a24304c3e63738ff959877e30e )
  • Run on Windows 10.0.18363.900
  • Following dialog appears:
    The code execution cannot proceed because libwinpthread-1.dll was not found. Reinstalling the program may fix this problem.

Dependency Walker shows the dependency:
Dependency Walker screenshot

libwinpthread-1.dll is a mingw32 library and so the error might not occur on developer machines since mingw32 might be in the search path. Having a quick google, it looks like other golang projects have had similar issues, e.g.:

go-vgo/robotgo#235

A possible fix seems to be adding -extldflags "-static" to the go ldflags... Presumably that'd be

ldFlags += ` -H windowsgui`;

Let me know if I can provide any other information

--jbit

Duplicate translations in Portuguese PT and BR

Duplicate translations pt-PT.json and pt-BR.json are old translations, the new ones are pt_PT.json and pt-BR.json, all in the locales folder. https://github.com/itchio/itch-setup/tree/master/data/locales

This error message appears when you define languages in Portuguese pt and br in the app "No such locale /home/bcrazy/.itch/app-25.4.0/resources/app.asar/src/static/locales/pt.json"
The app tries to download pt.json, that there is no link https://locales.itch.ovh/itch/pt-PT.json and the same occurs with pt-PT and pt-BR, there are only links to https://locales.itch.ovh/itch/pt_PT.json and https://locales.itch.ovh/itch/pt_BR.json

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.