From 9aa753bb11ad411ceda1792434802ee438d6be96 Mon Sep 17 00:00:00 2001 From: Azgaar Date: Thu, 22 Jan 2026 12:42:17 +0100 Subject: [PATCH] Updated Q&A (markdown) --- Q&A.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Q&A.md b/Q&A.md index bce2801..ca4bb3a 100644 --- a/Q&A.md +++ b/Q&A.md @@ -36,19 +36,17 @@ Open the generator, click on _Load_ and select the file. Or just drag and drop t Yes, you can do it using any text editor. However, if you break the formatting the file won't be loading. The common error is that most text editors automatically split embedded svg into separate lines. ### Can I use the Generator offline? -Yes, you can with some limitations. The easiest way is to [install the PWA](Q&A#is-there-a-desktop-version). Make sure you open the App when you have a connection so that all required files can be cached on your machine. After that PWA should work offline. +Yes, but it's more complex. You must have a source code editor ([VS Code](https://code.visualstudio.com/) is the best free one) and [node.js](https://nodejs.org) installed. -Another option is to serve the tool locally. Download the [source code](https://github.com/Azgaar/Fantasy-Map-Generator/archive/refs/heads/master.zip) and unzip _all files_ from the downloaded archive. Then you need to run a local web-server, follow [the instructions](Run-FMG-locally). +Download the [source code](https://github.com/Azgaar/Fantasy-Map-Generator/archive/refs/heads/master.zip) and unzip _all files_ from the archive. -Please note that some functions like alternative Fonts or Styles are not available offline. +Open the folder in VS Code and run `npm install` in terminal to install dependencies. Then run `npm run dev` to start the development server. The Tool will be available as `http://localhost:5173` (open it in your browser). ### Is there a desktop version? Modern technologies allow any web-application to be turned into a desktop application that supports all features of the web app. There are 3 options supported: * Chrome App. A shortcut app can be created in Chrome in just three clicks without installation: `Settings => More Tools => Create Shortcut...`. * PWA. Chromium-based browsers (Chrome, Edge, etc.) in Windows will prompt you with a big button 'Install'. Just click on it and confirm the installation. The installed tool will be added to your desktop and opened automatically. You can also create a shortcut (app) manually, see [how to do it in Chrome](https://support.google.com/chrome_webstore/answer/3060053). -All versions require internet connection for the first run. Once app data is loaded to the memory, it may work offline with some limitations. - ### Which browsers are supported? The Generator should work in any modern browser except for Safari. The tool is developed using Chrome, so it has the best support. Firefox is reported to have worse performance. Edge 79 and later will also work. Latest Opera and Yandex Browser should work fine as well. Outdated browsers like Internet Explorer are not supported. Weird browsers like Brave may not work at all.