Berserk-Games / atom-tabletopsimulator-lua

Tabletop Simulator scripting package for Atom.
Other
36 stars 27 forks source link

Uncaught TypeError: remote.dialog.showMessageBox(...).then is not a function #140

Closed elfosardo closed 3 years ago

elfosardo commented 3 years ago

[Enter steps to reproduce:]

  1. Open Atom
  2. Select "Get Lua Scripts" from Packages -> Tabletop Simulator

Atom: 1.40.0 x64 Electron: 3.1.10 OS: "Fedora release Thrown From: tabletopsimulator-lua package 12.4.3

Stack Trace

Uncaught TypeError: remote.dialog.showMessageBox(...).then is not a function

At /home/rpittau/.atom/packages/tabletopsimulator-lua/lib/tabletopsimulator-lua.coffee:1223

TypeError: remote.dialog.showMessageBox(...).then is not a function
    at Object.getObjects (/packages/tabletopsimulator-lua/lib/tabletopsimulator-lua.coffee:1223:8)
    at /packages/tabletopsimulator-lua/lib/tabletopsimulator-lua.coffee:901:100)
    at CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/static/<embedded>:11:349123)
    at CommandRegistry.dispatch (/usr/share/atom/resources/app/static/<embedded>:11:347598)
    at AtomEnvironment.dispatchApplicationMenuCommand (/usr/share/atom/resources/app/static/<embedded>:1:718717)
    at EventEmitter.t (/usr/share/atom/resources/app/static/<embedded>:1:726640)
    at EventEmitter.emit (events.js:182:13)

Commands

     -0:17 tabletopsimulator-lua:getObjects (atom-pane.pane)

Non-Core Packages

atom-ide-ui 0.13.0 
go-debug 1.6.2 
go-plus 6.1.0 
go-signature-statusbar 1.2.3 
tabletopsimulator-lua 12.4.3 
elfosardo commented 3 years ago

fixed updating to atom 1.55