Skip to content

Commit

Permalink
fixed path error
Browse files Browse the repository at this point in the history
- fixed path error in file 'JoplinPortable.cmd', attachments display correctly now.
  • Loading branch information
shaoziyang committed Oct 28, 2021
1 parent cd311a8 commit e4c0391
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Unit1.pas
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ procedure TfrmMain.btn3Click(Sender: TObject);
s := lst1.Items[lst1.Tag];
AssignFile(F, path + 'JoplinPortable.cmd');
Rewrite(F);
write(F, '@start "" "%~dp0\App\Joplin\Joplin.exe" --profile "%~dp0\Notes\' + s + '"');
write(F, '@start %~dp0App\Joplin\Joplin.exe --profile %~dp0Notes\' + s);

note := s;
ini.WriteString('option', 'note', note);
Expand Down

0 comments on commit e4c0391

Please sign in to comment.