We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88fc022 commit bf52026Copy full SHA for bf52026
source/code/main.pas
@@ -243,6 +243,11 @@ procedure TFormTrackerModify.FormCreate(Sender: TObject);
243
begin
244
FFolderForTrackerListLoadAndSave := GetEnvironmentVariable('XDG_DATA_HOME');
245
end;
246
+ // If it is a appimage program, save it in a present folder.
247
+ if GetEnvironmentVariable('APPIMAGE') <> '' then
248
+ begin // OWD = Path to working directory at the time the AppImage is called
249
+ FFolderForTrackerListLoadAndSave := GetEnvironmentVariable('OWD');
250
+ end;
251
if FFolderForTrackerListLoadAndSave = '' then
252
253
// No container detected. Save in the same place as the application file
0 commit comments