Giter Club home page Giter Club logo

appjs-deskshell's People

Contributors

ashishnegi avatar fdiskas avatar lvbeck avatar sholtomaud avatar sihorton avatar zermattchris avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

appjs-deskshell's Issues

Better graphics? x.x

I am currently working on the Deskshell bundle...and I just converted the icon without checking the size - and then I realized, ouch, its tiny XD. Can somebody give me something with a resolution closely to 100x100? x.x...

Hint... this could be useful: http://iconverticons.com/online/

Windows Desktop Refreshes on executing example app

Hey,

it is kinda hard to explain, but I try anyway...

  1. Compile an exe-File out of the portable-hello-world example
  2. Start this exe
  3. The Application Window is shown
  4. The Desktop refreshes all icons (maybe it resets the cache)

I don't know why it happens, and it will concern users.

Is this a bug or "by-design" ?

I'm using Win 7 x64, do you need any other information?

Is this project still actively developed?

Is anyone is still working on this / using this or if it should be considered deprecated / abandoned / defunct? Looks like there has been very little activity since 2014.

According to this thread on the mailing list AppJS is no longer active, but I guess that didn't make it clear whether or not "deskshell" was part of AppJS or just a fork/off-shoot.

Mac port has segmentation fault when launching the demo apps

I have checked out the deskshell project directly from git on a mac. Then if I run the installer it complains that Deskshell.app already exists, I then delete it and it then succeeds. Clicking on .desk files does not launch them and it gives no error. However if I type the following then the default demo application opens:-

./Deskshell.app/Contents/MacOS/node ./Deskshell.app/Contents/MacOS/deskshell.js

If I then click on Demos and then SoundDemo (for example) and click the Launch button then the demo does not run and I get the following on the console...

wrapper: line 3: 8627 Segmentation fault "$ME/php" "$ME/desk_parse"

To reproduce the error the following typed into the command line gives the same error:-

./Deskshell.app/Contents/MacOS/wrapper ./Deskshell.app/Contents/demo/content/demos/soundDemo/soundDemo.desk

wrapper: line 3: 8627 Segmentation fault "$ME/php" "$ME/desk_parse"

My guess is this is some form of pathing problem -- i.e. it is not correctly finding the path to the files, appjs had many of these problems.

The goal is to be able to send the "launchApp" command and give a relative or absolute path to another .desk file and then execute it.

Portable/Non-Admin Version

I liked AppJS because it was possible to use it on PC without admin rights. Is it possible to make the shell integration optional and allow the executable to open a program by dragging the desk file into?

You could create a separate script to install/uninstall filetype associations.

Can not git clone the repo

When i run git clone https://github.com/sihorton/appjs-deskshell.git i get following errors:

error: unable to create file bin/mac/Chromium.app/Contents/Versions/13.0.782.218 /Chromium Framework.framework/Internet Plug-Ins/Flash Player Plugin for Chrome.plugin/Contents/Resources/PreferencePaneHost.app/Contents/MacOS/PreferencePaneHost (No such file or directory) fatal: cannot create directory at 'bin/mac/Chromium.app/Contents/Versions/13.0.7 82.218/Chromium Framework.framework/Internet Plug-Ins/Flash Player Plugin for Chrome.plugin/Contents/Resources/PreferencePaneHost.app/Contents/Resources/Flash Player.prefPane': No such file or directory

On
$ ls Graphics LICENSE README.md apps bin

There is no installer folder or sys-apps.

Oops! Google Chrome could not connect to localhost:55067

I've just now fetched from the appjs-deskshell as a remote upstream and then merged with my local repo.

I'm looking to add another demo.

RUnning in debug mode produced a TypeError see screenshot below

image

I then went to the Demos page in deskShell, and got the following error:

Did i do something wrong with the Git merge or is everyone else having this issue?

Oops! Google Chrome could not connect to localhost:55164

image

HTML5 notifications

Hi,

I tried to run HTML 5 notifications in Deskshell in a html file:
my JS code:
if (window.webkitNotifications) {
console.log("Notifications are supported!");
}
else {
console.log("Notifications are not supported for this Browser/OS version yet.");
}
if (window.webkitNotifications.checkPermission() == 0) { // 0 is PERMISSION_ALLOWED
var notification =
webkitNotifications.createNotification('http://i.stack.imgur.com/dmHl0.png','TITLE','BODY 123');
notification.show();

} else {
console.log("request permission");
window.webkitNotifications.requestPermission();
}

I am getting output:
"Notifications are supported!"
"request permission" But there is no permission request. I also would say that this is not needed in that environment.
I also tried http://blog.chromium.org/2013/05/rich-notifications-in-chrome.html?m=1
but chrome.notifications object is empty.

Error Handling demo

Seems to be an issue running the Error Handling demo in the latest version of the deskShell SDK.

Clicking on the left menu hilights the Sound demo and although the Error Handling demo page is shown, the Launch Demo button's not working.

Bug in app-package app.js

Hello,
I've found a bug in your app-package app.js which prevented me from creating an *.exe.

The bug starts here: https://github.com/sihorton/appjs-deskshell/blob/master/sys-apps/app-packager/app.js#L116

You've mixed the try catch with an else statement which creats an error.

Here is the else which should be an catch
https://github.com/sihorton/appjs-deskshell/blob/master/sys-apps/app-packager/app.js#L143

And here is the catch which should be an else
https://github.com/sihorton/appjs-deskshell/blob/master/sys-apps/app-packager/app.js#L147

When you switch these two your code works fine and does that what was intended

Regards
Sascha

Creating an app with a static port?

I couldn't find any information in the documentation, and it appears that each time the app starts it gets a new port.

I would like to have my app use a static port as I have outside resources that depend on a static address, is this something I can set in any of the settings or arguments for starting the app?

Compile exe file on windows stuck at compiling app.nsi

Hi @sihorton,

the packager will generate a file called app.exe.appfs above src directory, and then stuck at compiling app.nsi (but app.nsi file is created).

double click on the app.exe.appfs will generated a deskshell.log file:
the UncaughtException:Cannot find module 'deskshell-win-func'Cannot find module 'deskshell-win-func'

tested with the portable-win and sdk version

Use Chromium instead of Chrome

Hi,

just a small request, is it possible in an easy way for you to change to Chromium on windows instead of chrome? I ask because Chrome is, as far as I know, way more Google connected than Chromium.

Also I want to say, you do a great job :)

Greetings
Knerd

Chrome crashes when running the app

I've tried creating a new app, copying files from an existing web app i've created before. However Chrome crashes after about 5 seconds giving this error:
"Whoa! Google Chrome has crashed. Relaunch now?"

I have tried running the app via debug mode as recommended in documentation and here's the output i'm getting in the console:
C:\Users\me\AppData\Local\Deskshell-apps\MyApp>C:\Users\me\AppData\Local\D
eskshell-apps\MyApp....\Deskshell\bin\win\node.exe C:\Users\me\AppData\L
ocal\Deskshell-apps\MyApp....\Deskshell\bin\win\deskshell.js C:\Users\me
\AppData\Local\Deskshell-apps\MyApp\SmartBiller.desk
serving application on port: 50299
info - socket.io started
chrome debug port: 9223
http://localhost:50299/
found debug socket ws://localhost:9223/devtools/page/F704BC71-B308-457C-9F43-658
1096DBB42
adding event handler: *
chromium exec error:Error: Command failed:

Here's some background information:

  • running on Windows 7 x64
  • using deskshell 0.9.28
  • my app is not using nodejs
  • my web app is using HTML5 Local Storage

Am i missing anything to enable Local Storage? Is there a way to see exactly why it's crashing?

Any chance to use node native addon?

I want to use my nodejs module that is build by node-gyp, how is that possible?

my module is included in the app.js file:

var mymodule = require("mymodule/build/Release/mymodule");

but the application quit immediately after start, it seems that the module cannot be found/loaded.

Error loading /

First, I'm an old fortran programmer trying to learn.

I have a demo ToDo app using AngularJS and PouchDB. All works fine in the Chrome & Safari browsers on my Mac. However, I get page with "Error loading /" in the Deskshell.

The Deskshell works find with the provided demo.

When using deskshelll with your demo or my todo I get the following warnings:

Warning: file_get_contents(/Applications/Deskshell.app/Contents/../../../../desk.decl-defs): failed to open stream: No such file or directory in /Applications/Deskshell.app/Contents/MacOS/desk_parse on line 33

Warning: Invalid argument supplied for foreach() in /Applications/Deskshell.app/Contents/MacOS/desk_parse on line 37

Notice: Undefined property: stdClass::$debug in /Applications/Deskshell.app/Contents/MacOS/desk_parse on line 44
serving application on port: 49248
info: socket.io started
Starting via: /Applications/Deskshell.app/Contents/Frameworks/Deskshell.app/Contents/MacOS/chromium
chrome debug port: 9223
http://localhost:49248/
found debug socket ws://localhost:9223/devtools/page/A5450B82-DE78-5F81-28A3-2EFF158F59BC
adding event handler: *

How to debug packaged executable?

Hi,

Usually I can run myapp.desk-debug in deskshell.exe for debugging, but how can I debug packaged myapp.exe?

Since I use the deskshell packager to compile and generate executable like myapp.exe, is it possible to to generate another executable file called myapp_debug.exe at the same time?

Process node.exe doesn't exit when close the window

Sometimes, when you launch a app and hang it there for about half an hour, and then you click the close button of the window, it closed, but the node.exe process is still there in the task managar when you check it.
Is there any way to fix this out? pls
This cause a issue that when you run the app for several times, and there will be a bunch of processes of node.exe in the system

maybe this can be called "bug".
in file "index.js" at "deskshell-api"
at about line 97
app.rDebugApi.on('*',function(event) {...}

this listener only work once
it was defined in "index.js" at "chrome-rDebug"
at about line 619 and
used at about line 645
they only work once.

missing submodule declaration

I think the submoldule delaration for sihorton-vfs is missing in .gitmodules

[submodule "bin/win/node_modules/sihorton-vfs"]
    path = bin/win/node_modules/sihorton-vfs
    url = https://github.com/sihorton/sihorton-vfs.git

Kiosk app .exe close button not working

I am new to this project (love it by the way - very useful). The problem I am having is with the Kiosk demo:

The close button works fine when testing, but once I compile it to .exe the close button stops working and then I can't exit the app.

Is this a known issue, or something I am missing?

Packing own app for Mac?

I was not able to make my own app with the instruction and this is what I found out so far:

$ cp Deskshell.app MyFatApp.app
$ mkdir MyFatApp.app/Contents/Applications

This should be "Application" without s

$ mv Path/to/my/app-folder/* MyFatApp.app/Contents/Applications

same

$ rm MyFatApp.app/Contents/MacOS/deskshell
$ rm -Rv MyFatApp.app/Contents/Resources/Scripts

there is a "script" in there, no "Scripts" I removed it because it started the wrapper.

$ nano MyFatApp.app/Contents/MacOS/deskshell

#!/bin/bash
ME=$(dirname '$0')
"$ME/desk_parse" "$ME/../Application/app.desk"

This was not working for me on command line with "./deskshell" so I added php:
$ME/php "$ME/desk_parse" "$ME/../Application/app.desk"

I also made a chmod +x on deskshell and with "./deskshell" the app starts fine. But after clicking the icon I am getting only a

10.11.13 02:03:25,153 com.apple.launchd.peruser.501[281]: (com.appjs.deskshell.146640[32193]) Exited with code: 127

on console. Any ideas?

Local node_modules

I have local node_modules in my app folder, but i can't use them after compilation process.Any ideas?

Nothing happens in deskshell

It looks like this project was abandoned in 2015, but I'll try posting this issue anyway.

I followed the ReadMe instructions:

git clone https://github.com/sihorton/appjs-deskshell.git deskshell
cd deskshell
git submodule init

The instructions stop here. I tried running the program deskshell.exe, but nothing happened. I don't see any other obvious way to proceed.

How should I run the base application? Is this a supported product?

Running Deskshell only runs a Chromium Browser

Hi there - this is a super basic question and I'm sorry if it's glaringly obvious (or I'm completely misunderstanding things).

When I run Deskshell, it only opens up a Chromium frame, with homepage of Google. Shouldn't this link to the Deskshell page, where I can launch the AppWizard (as per every tutorial I've found!)?

Again, I'm really sorry for asking such a basic question but I'm genuinely struggling to start.

Thanks,

AA

Compiling Windows .exe stuck on compiling app.nsi

app.exe.appfs is beig created successfully and this file will load up the application but the Windows .exe file is not being created.

The process log is below. The process is stuck on compiling the app.nsi:

added htdocs/index.html
added Name of Application.desk
added app.nsi
added app.js
added app.desk
package created: ..\app.exe.appfs
compiling: C:\Users\Administrator\AppData\Local\Deskshell-apps\Name of Application\app.nsi

The only error I get in the log file is:

Error:SyntaxError: Missing catch or finally after try

filePicker does not work when file path contains non-ascii characters like German umlaut

Hi ,

I use the deskshell-win-func module in my app for file picker, most of time it works like amazing, unfortunately it will fail when the picked file path contains special characters like German umlaut, for instance when I pick a file located on C:\temp\äöü\myfile.txt, the return path will be shown as C:\temp\���\myfile.txt

is there any way to solve this issue in deskshell-win-func, if not, how can I convert the returned filepath string to utf8 format?

any kind of help or hint would be greatly appreciated.

tested on following environment:
windows 7 x64 German version

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.