Git Product home page Git Product logo

desktop-starter's Introduction

Desktop Starter

Copyright © Bentley Systems, Incorporated. All rights reserved. See LICENSE.md for license terms and full copyright notice.

This repo has been archived

To learn how to develop iTwin.js desktop applications, please see our tutorial on Developing a Desktop Viewer.


The purpose of this repository is to serve as starting point for developers wishing to create an iTwin.js Electron app.

See https://itwinjs.org for comprehensive documentation on the iTwin.js API and the various constructs used in this app.

App Screenshot

Tutorial

To build and run this application, just follow our step-by-step tutorial.

Debugging

  1. In VS Code, select Terminal -> Run Task..., and pick "Watch All"
  2. Launch the VS Code debugger with configuration "Electron: All"

Contributing

Contributing to iTwin.js

desktop-starter's People

Contributors

bsteinbk avatar calebmshafer avatar github-actions[bot] avatar jffmarker avatar kabentley avatar skirby1996 avatar wgoehrig avatar williamkbentley avatar wilmaier avatar

Stargazers

 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

desktop-starter's Issues

Failed to package exe with desktop starter electron

Hi, I'm using the command build:dist The attempt to package the desktop starter into exe failed. The error is as follows:
Error: Application entry file "build\app\main.js" in the "D:\DeskStarter\desktop-starter\dist\win-unpacked\resources\app.asar" does not exist. Seems like a wrong configuration.

electron-builder

when I use npm build:pack , Porperties is not localization

it is fine,when i install electron package and use package

Signin process for opening online model is broken

Clicking home icon and selecting open online model shows the signin page
And next clicking button "signin.signinbutton" the solution freezes.
This was working in the past when updating my application id.
Also tried to define contextid and modelid but it does not help.

Debugger shows no errors or warnings. It apears like no http request is made to bentley oidc.

Thanks

Cannot debug using vscode

Greetings, the debugging section in the readme seems to be outdated. There does not seem to be a "Watch All" option in "Terminal" -> "Run Task" or a "Electron: All" debug configuration.

For the tasks, the only two watch tasks are:

  • tsc: watch - tsconfig.json
  • tsc: watch - tsconfig.backend.json

For debug configurations, the only electron option is "Electron: Main". There is no "Electron: All" option.

What are the options for debugging this code? Have I missed something?

Repo archival announcement

On Thursday, 10/7, the desktop-starter repo will be archived. The repository will still be able to be forked, but all code, branches, issues and pull requests will become read-only.

To learn how to develop iTwin.js desktop applications, please see our tutorial on Developing a Desktop Viewer.

app does not start

I'm on Linux 20.04; Node 12.0. I cloned this repo, did npm i and npm start, but it won't start.
What can I do to fix this issue?

Breitbandmesung

about the tree component display label

Hello guys, I added a tree component into desktop demo. When I npm run electron ,this tree display label is normal . But after I run the npm run build: pack , I started the exe from package folder. This tree node display label has been Not specified. Detail under below picture. Is it a translation issue? Do you know how can I fix it?
image

"imodeljs/desktop-starter" failed to initialize electron IPC

Yesterday, "imodeljs/desktop-starter" was updated as 2.6.0.
And I tested the new version ""imodeljs/desktop-starter" on Win 10 64bit & Chrome.

The process of "npm install" is ok!
The process of "npm build" is also ok!
However, after messaging of "compiled successfully", there is an unseen warning in the previous version as following:

image

And after loading "desktop-starter" on electron, there is also an unseen warning in the previous version as following:

image
image
image

And the default model is not displayed. This issue is not seen in previous versions.
If I don't understand it well, please let me know.

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.