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

Create app data folder on install #50

Merged
merged 1 commit into from
Nov 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ Download the provided installation packages for your preferred operating system.

### Windows

Download and the .exe installer from our latest release [here](https://github.com/Seagate/cloudfuse/releases). Uncheck the "Launch Cloudfuse" upon finishing the installation. Run the GUI separately as admin after the install completes.
Download and the .exe installer from our latest release [here](https://github.com/Seagate/cloudfuse/releases). Uncheck the "Launch Cloudfuse" upon finishing the installation. Run the GUI separately as admin after the install completes.

Cloudfuse will store the config file in ` C:\Users\{username}\AppData\Roaming`.

### From Tar or Zip files
In the release tab on GitHub, you can download a tar folder for Linux on x86 and a zip folder for Windows on x86 which bundles
Expand Down
4 changes: 4 additions & 0 deletions build/windows_installer_build.iss
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ Source: "..\sampleStreamingConfigS3.yaml"; DestDir: "{app}"; Flags: ignoreversio
Source: ".\winfsp-2.0.23075.msi"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Dirs]
; Create directory in AppData/Roaming
Name: "{userappdata}\{#MyAppName}"; Flags: uninsalwaysuninstall

[Icons]
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
Expand Down
2 changes: 1 addition & 1 deletion gui/common_qt_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def updateSettingsFromUIChoices(self):
def getCurrentDir(self):
defaultFuseDir = 'Cloudfuse'
if platform == "win32":
userDir = os.getenv('LOCALAPPDATA')
userDir = os.getenv('APPDATA')
jfantinhardesty marked this conversation as resolved.
Show resolved Hide resolved
currentDir = os.path.join(userDir, defaultFuseDir)
else:
currentDir = os.getcwd()
Expand Down