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

Run current app project via AppRun #3

Closed
spatialdude opened this issue Dec 10, 2018 · 4 comments
Closed

Run current app project via AppRun #3

spatialdude opened this issue Dec 10, 2018 · 4 comments

Comments

@spatialdude
Copy link
Collaborator

The user should be able to run the current app project via AppRun.

@spatialdude spatialdude changed the title Run an app via AppRun Run current app project via AppRun Dec 10, 2018
zhitaop pushed a commit that referenced this issue Dec 20, 2018
zhitaop added a commit that referenced this issue Dec 20, 2018
@marikavertzonis
Copy link
Collaborator

apprun-light

file to use for the toolbar icon (this comes from https://devtopia.esri.com/Melbourne/appstudio-desktop/blob/master/AppRun/AppRun-light.png)

NB: the above white looking space is an image, click it to download

@shobanasuresh
Copy link

shobanasuresh commented Dec 21, 2018

@zhitaop As discussed, AppStudio installation path can be read from AppStudio.ini -> General -> installDir key

    [General]
    installDir=C:\\Users\\shob7068\\Applications\\ArcGIS\\AppStudio

AppStudio.ini file location:

Windows
C:\Users\username\AppData\Roaming\Esri\AppStudio.ini
EDIT by SQ: should use environment variable to locate AppData\Roaming, i.e. %APPDATA%\Esri\AppStudio.ini

macOS and Linux
~/.config/Esri/AppStudio.ini

When the AppStudio.ini file or the installDir key is missing, it's safe to assume that AppStudio is not installed on the machine. The AppStudio VS Code extension should display an error message in this case.

@stephenquan

zhitaop added a commit that referenced this issue Dec 24, 2018
zhitaop added a commit that referenced this issue Jan 2, 2019
#3 #4 #6 #7 #11 Add support for MacOS and error message for unsupport…
@marikavertzonis
Copy link
Collaborator

  • tested on windows 10, linux 18 and mac os 10.13, successfully opening (and running) a project on each
  • toolbar icon still needs to be updated

@marikavertzonis
Copy link
Collaborator

have split the icon updating off to #14, marking it as impeded until the vscode issue is resolved.
without this, the run project tool works as expected. if enhancements are required they should be created as new specific issues.

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

No branches or pull requests

4 participants