diff options
author | Ryan Cao <70191398+ryanccn@users.noreply.github.com> | 2022-10-19 21:53:57 +0800 |
---|---|---|
committer | Ryan Cao <70191398+ryanccn@users.noreply.github.com> | 2022-11-05 22:17:59 +0800 |
commit | 7b1e68bfa8cf9d46e0c810cfa0f077427cfc707a (patch) | |
tree | 87782c5e9f960f67dcc9dfbe499b5f1fad53a499 /launcher/FileSystem.h | |
parent | 2999afe7815d0c2a557e95c7518e192650fdc652 (diff) | |
download | PrismLauncher-7b1e68bfa8cf9d46e0c810cfa0f077427cfc707a.tar.gz PrismLauncher-7b1e68bfa8cf9d46e0c810cfa0f077427cfc707a.tar.bz2 PrismLauncher-7b1e68bfa8cf9d46e0c810cfa0f077427cfc707a.zip |
initial support for add to PATH action
Signed-off-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
Diffstat (limited to 'launcher/FileSystem.h')
-rw-r--r-- | launcher/FileSystem.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/launcher/FileSystem.h b/launcher/FileSystem.h index b46f3281..2d4dfb56 100644 --- a/launcher/FileSystem.h +++ b/launcher/FileSystem.h @@ -54,6 +54,11 @@ class FileSystemException : public ::Exception { void write(const QString& filename, const QByteArray& data); /** + * create a symlink + */ +bool symlink(const QString& target, const QString& link); + +/** * read data from a file safely\ */ QByteArray read(const QString& filename); |