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

[FIXED] Portability on Windows #126

Closed
sergeevabc opened this issue Apr 4, 2019 · 2 comments
Closed

[FIXED] Portability on Windows #126

sergeevabc opened this issue Apr 4, 2019 · 2 comments

Comments

@sergeevabc
Copy link

Dear @RadhiFadlillah, I’m looking for a way to make Shiori truly portable, i.e. to keep database in the same folder where shiori.exe is located, or at least to look for database there first (then fall back to %userprofiles%\AppData\Local\shiori if database is not present in the same folder). How?

@sergeevabc sergeevabc changed the title Portability on Windows [PENDING] Portability on Windows Apr 14, 2019
@RadhiFadlillah
Copy link
Collaborator

Hi @sergeevabc, sorry for slow response. I've been really busy these week, so I haven't got the time to check issues here.

Unfortunately, right now there is no way to do it, unless you make a change in code and build it yourself.

@RadhiFadlillah
Copy link
Collaborator

RadhiFadlillah commented Aug 27, 2019

Since ramadhan branch has been merged, now Shiori has --portable flag. By using it, Shiori will create shiori-data directory in the location of executable file, and use it to store the data.

Simple command-line bookmark manager built with Go

Usage:
  shiori [command]

Available Commands:
  add         Bookmark the specified URL
  delete      Delete the saved bookmarks
  export      Export bookmarks into HTML file in Netscape Bookmark format
  help        Help about any command
  import      Import bookmarks from HTML file in Netscape Bookmark format
  open        Open the saved bookmarks
  pocket      Import bookmarks from Pocket's exported HTML file
  print       Print the saved bookmarks
  serve       Serve web interface for managing bookmarks
  update      Update the saved bookmarks

Flags:
  -h, --help       help for shiori
      --portable   run shiori in portable mode

With that said, I believe this issue has been fixed now so I will close it. Feel free to reopen it if needed.

@sergeevabc sergeevabc changed the title [PENDING] Portability on Windows [FIXED] Portability on Windows Nov 20, 2019
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