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

Snap problems #8

Closed
lynxlynxlynx opened this issue Nov 11, 2021 · 1 comment
Closed

Snap problems #8

lynxlynxlynx opened this issue Nov 11, 2021 · 1 comment

Comments

@lynxlynxlynx
Copy link

lynxlynxlynx commented Nov 11, 2021

So I've dived deep into why it's so hard to use and found:

  1. my previous sudo Snap feedback and suggestion #7 suggestion doesn't really help universally, so that text is best removed, sorry
  2. if this is a steam or wine install, there's no way snap will be able to access the save games. The snap is granted :home access/interface, which translates to access also to the running user, but that excludes hidden files, so .steam, .wine, and so on are inaccessible.
    I suggest this text:
If your save games are in a hidden dir, you'll have to copy them out to be able to edit them. For example:
$ mkdir -p ~/wotr-saves/Saved\ Games/
$ cp ~/.wine/drive_c/users/steamuser/AppData/LocalLow/Owlcat\ Games/Pathfinder\ Wrath\ Of\ The\ Righteous/Saved\ Games/* ~/wotr-saves/Saved\ Games/

I didn't bother with Portraits, since that's not strictly necessary.

  1. Snaps by default don't have access to other disks. Users can grant permission, but only if the snap allows it (sigh!): https://snapcraft.io/docs/removable-media-interface

So after this is added to the snap, users would have to run: snap connect arcemi-pathfinder-save-game-editor:removable-media :removable-media
Docs are pretty poor and I don't see any code in the repo, so I can't be of much help on how to enable this interface/slot.
https://snapcraft.io/docs/interface-management

In case it helps, here's the default listing:

$ snap connections arcemi-pathfinder-save-game-editor
Interface                 Plug                                                Slot                             Notes
audio-playback            arcemi-pathfinder-save-game-editor:audio-playback   :audio-playback                  -
browser-support           arcemi-pathfinder-save-game-editor:browser-support  :browser-support                 -
content[gnome-3-28-1804]  arcemi-pathfinder-save-game-editor:gnome-3-28-1804  gnome-3-28-1804:gnome-3-28-1804  -
content[gtk-3-themes]     arcemi-pathfinder-save-game-editor:gtk-3-themes     gtk-common-themes:gtk-3-themes   -
content[icon-themes]      arcemi-pathfinder-save-game-editor:icon-themes      gtk-common-themes:icon-themes    -
content[sound-themes]     arcemi-pathfinder-save-game-editor:sound-themes     gtk-common-themes:sound-themes   -
desktop                   arcemi-pathfinder-save-game-editor:desktop          :desktop                         -
desktop-legacy            arcemi-pathfinder-save-game-editor:desktop-legacy   :desktop-legacy                  -
gsettings                 arcemi-pathfinder-save-game-editor:gsettings        :gsettings                       -
home                      arcemi-pathfinder-save-game-editor:home             :home                            -
network                   arcemi-pathfinder-save-game-editor:network          :network                         -
opengl                    arcemi-pathfinder-save-game-editor:opengl           :opengl                          -
pulseaudio                arcemi-pathfinder-save-game-editor:pulseaudio       -                                -
unity7                    arcemi-pathfinder-save-game-editor:unity7           :unity7                          -
wayland                   arcemi-pathfinder-save-game-editor:wayland          :wayland                         -
x11                       arcemi-pathfinder-save-game-editor:x11              :x11
@jaygumji
Copy link
Owner

I've linked the mod documentation to this issue, I'll let you Linux users discuss the issues for the Linux snap here and keep an eye on it. I'll try and snap up if I'm able to change something to alleviate the issues.

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