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

[Question] Is the [appname]/.itch/ folder safe? #1607

Closed
aaronfranke opened this issue Jan 10, 2018 · 1 comment
Closed

[Question] Is the [appname]/.itch/ folder safe? #1607

aaronfranke opened this issue Jan 10, 2018 · 1 comment

Comments

@aaronfranke
Copy link

Is the .itch folder inside of an app's directory safe? It was generated on my system because of the isolate-app.profile file the sandbox created. I want to know, is this folder safe for putting other files in that Itch didn't generate? I have some Itch-related but not Itch-created files to put... somewhere.

@fasterthanlime
Copy link
Collaborator

fasterthanlime commented Jan 10, 2018

Is the .itch folder inside of an app's directory safe? It was generated on my system because of the isolate-app.profile file the sandbox created. I want to know, is this folder safe for putting other files in that Itch didn't generate? I have some Itch-related but not Itch-created files to put... somewhere.

Although it's not documented anywhere, I'd strongly recommend assuming that the .itch folder:

  • Is completely owned by the itch app
  • Can contain anything
  • Can be wiped/cleaned at any time

Right now, it is used for things like:

  • The receipt (list of installed files, in receipt.json or receipt.json.gz)
  • The $TEMP folder for the game (in .itch/tmp IIRC)
  • The sandbox profile fore firejail (as you noticed)

I've picked .itch so it's hidden on Linux/mac by default, and hopefully asking game developers to leave alone just one directory isn't too big an ask :)

Edit: please also note that butler diff, butler push etc. will ignore the .itch directory when walking a folder.

aaronfranke added a commit to aaronfranke/OpenRA that referenced this issue Jan 10, 2018
Butler ignores it, so should we: itchio/itch#1607
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants