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 a new map issue #143

Open
rygos opened this issue Sep 21, 2020 · 1 comment
Open

Create a new map issue #143

rygos opened this issue Sep 21, 2020 · 1 comment
Milestone

Comments

@rygos
Copy link

rygos commented Sep 21, 2020

Hi,
macOS Big Sur User here. I can open a rm2k Project but if I want to add a new map I get this message:
The file /private/var/folders/4w/qt32_g8s5ms21nybw0ldrr240000gn/T/AppTranslocation/7167517A-615C-451C-8262-AE684F329C6C/d/EasyRPG Editor.app/Contents/MacOS/templates/Map0001.emu can't be found.

if I click OK I can edit again but there is no new map.

The build date is 21.09.2020 - A release from Ghabry =)

@Ghabry Ghabry added this to the 0.1 milestone Mar 2, 2021
@carstene1ns
Copy link
Member

Currently the templates are hardcoded from application dir, which is bad, when installed.
Instead we should query the appdata location first:
auto path = QStandardPaths::locate(QStandardPaths::AppDataLocation, "Map0001.emu");

See also https://doc.qt.io/qt-5/qstandardpaths.html

Of course we also need to install the templates to /usr/share/easyrpg-editor for example on Linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants