Code Monkey home page Code Monkey logo

Comments (6)

maxence-charriere avatar maxence-charriere commented on May 21, 2024

what command do you try to start the ?

from go-app.

maxence-charriere avatar maxence-charriere commented on May 21, 2024

Can you copy/paste the macpack output and how you try to launch the app?
Also if you can provide quote what there is in your mac.json

from go-app.

ScullWM avatar ScullWM commented on May 21, 2024

Here's the mac.json file content:

{
  "name": "Updemia",
  "id": "updemia.client",
  "version": "1.0",
  "build-number": 1,
  "icon": "logo2.png",
  "dev-region": "en",
  "deployment-target": "10.12",
  "copyright": "Copyright © 2017 scullwm. All rights reserved",
  "role": "None",
  "category": "",
  "sandbox": true,
  "capabilities": {
    "network": {
      "in": false,
      "out": true
    },
    "hardware": {
      "camera": false,
      "microphone": false,
      "usb": false,
      "printing": false,
      "bluetooth": false
    },
    "app-data": {
      "contacts": false,
      "location": false,
      "calendar": false
    },
    "file-access": {
      "user-selected": "read-write",
      "downloads": "",
      "pictures": "",
      "music": "",
      "movies": ""
    }
  },
  "store": false,
  "sign-id": "",
  "supported-files": []
}

I think that it can be a folder access restriction that block app from launch...
Note that the application is currently using github.com/howeyc/fsnotify to check events that happen in the folder /Users/thomasp/updemia/. The file-access.user-selected node is so declared as "read-write" right.

EDIT:
Commenting the logger handler seems work. Could not understand why, and how generate logs.

	f, err := os.OpenFile("client-log.log", os.O_WRONLY|os.O_CREATE|os.O_APPEND, 0644)
	if err != nil {
		log.Fatal(err)
	}

	defer f.Close()
	log.SetOutput(f)

from go-app.

maxence-charriere avatar maxence-charriere commented on May 21, 2024

the app is running in sandbox box mode right now, which allow to access only restricted area.
try by setting "sandbox": false, in your mac.json.

from go-app.

maxence-charriere avatar maxence-charriere commented on May 21, 2024

Hey @ScullWM,
Was you able to fix that?

from go-app.

maxence-charriere avatar maxence-charriere commented on May 21, 2024

close this one, reopen if needed.

from go-app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.