@electron_ru

Страница 67 из 177
Pavel
22.09.2017
17:17:58
Странно

Заведи ишшью в репе

Посмотри что автор скажет

Sheldhur
22.09.2017
17:18:31
ручками надо создать

Google
Sheldhur
22.09.2017
17:18:58
app-update.yml создается при собирании asar

Pavel
22.09.2017
17:19:03
ручками надо создать
Почему в README тогда этого не сказано?

MK
22.09.2017
17:19:18
ручками надо создать
просто txt в dev-app-update.yml?

Sheldhur
22.09.2017
17:19:49
https://github.com/sheldhur/Vector/blob/master/app/main.development.js

https://github.com/sheldhur/Vector/blob/master/dev-app-update.yml

Pavel
22.09.2017
17:20:35
https://github.com/sheldhur/Vector/blob/master/dev-app-update.yml
Это типа package.json для Windows store?

Sheldhur
22.09.2017
17:21:31
это конфиг для electron-updater

MK
22.09.2017
17:22:45
странно, в примере такого не вижу, сейчас попробую

Pavel
22.09.2017
17:23:15
странно, в примере такого не вижу, сейчас попробую
Если заработает, то отправь им PR в ридми про это

MK
22.09.2017
17:29:00
это конфиг для electron-updater
заработал, спасибо!

Pavel
22.09.2017
17:29:47
заработал, спасибо!
Тепреь опенсорс-коммьюнити ждёт от тебя PR в репу https://github.com/iffy/electron-updater-example

Sheldhur
22.09.2017
17:30:10
а как быть с .asar?
там и так создается, рядом ложится

Google
MK
22.09.2017
17:30:12
Sheldhur
22.09.2017
17:30:19
для прода ниче не надо менять

MK
22.09.2017
17:30:59
сейчас попробую сделат тестовый проект

Sheldhur
22.09.2017
17:32:04
для прода в package.json прописывать дистрибьютора

сейчас попробую сделат тестовый проект
https://github.com/sheldhur/Vector/blob/master/package.json#L77-L83

MK
22.09.2017
17:58:53
https://github.com/sheldhur/Vector/blob/master/package.json#L77-L83
я все правильно сделал? https://github.com/StekolschikovV/xxx

https://github.com/sheldhur/Vector/blob/master/package.json#L77-L83
теперь нужно просто поправить версию на гите и запустить апп на пк?

Sheldhur
22.09.2017
18:00:03
в package.json ещё дописать

MK
22.09.2017
18:01:08
я про version в package.json на гите

Sheldhur
22.09.2017
18:02:16
publish надо добавить

MK
22.09.2017
18:02:44
куда?



Sheldhur
22.09.2017
18:02:56
в package.json ещё дописать

на гите должен быть релиз опубликован

MK
22.09.2017
18:26:09
на гите должен быть релиз опубликован
теперь говорит такое [21:23:20.639] [error] Error: Error: Cannot find latest.yml in the latest release artifacts (https://github.com/StekolschikovV/xxx/releases/download/v0.0.3/latest.yml): HttpError: 404 Not Found

я сделалил релиз

а верисия на гите +1

Sheldhur
22.09.2017
18:26:51
ну написано же

MK
22.09.2017
18:27:27
написано что файла нет

так у тебя его тоже не гите в корне нет

Google
Sheldhur
22.09.2017
18:27:50
бля, пичем тут сорцы, это релизы

MK
22.09.2017
18:29:02
не понял )

Sheldhur
22.09.2017
18:29:47
доку почитай )

Pavel
22.09.2017
18:48:57
Sheldhur
22.09.2017
18:49:29
гитхабе ?

Pavel
22.09.2017
18:49:38
охоспаде

Alex
23.09.2017
10:47:57
здравствуйте, помогите пожалуйста, столкнулся с вот такой ерундой:



Таймураз
23.09.2017
10:50:21
Если немного вчитаться, то можно заметить, что app не задан

Sviat
23.09.2017
10:50:30
app не объявлен как пременная

Alex
23.09.2017
10:50:36
var { app, BrowserWindow } = require('electron')



Таймураз
23.09.2017
10:52:15
Не используй var Удали папку зависимостей и поставь заново

Alex
23.09.2017
10:53:14
то есть node_modules из папки проекта?

Alex
23.09.2017
10:56:34




Admin


Таймураз
23.09.2017
10:57:49
Поставь debugger перед ошибкой и глянь, что возвращает модуль электронп

Alex
23.09.2017
10:59:38


Google
Alex
23.09.2017
11:00:38
строку?

Dika
23.09.2017
11:03:33
строку?
Запускай электроном, а не нодой

Alex
23.09.2017
11:18:12


Сергей
23.09.2017
11:19:10
лол

а почитать рецепты никак

https://github.com/Microsoft/vscode-recipes/tree/master/Electron

Alex
23.09.2017
11:37:23
сделал все по инструкции

та же ошибка в гугле ничего нет по ней

решил заменив "protocol": "inspector", на "protocol": "legacy",

всем спасиб

Sheldhur
23.09.2017
17:50:39
попробуй поставить старую версию электрона, на новых иногда почему-то лагает postinstall скрипт, если запустится ок то можно поверх новый электрон накатить

1.6

Electron.js releases
24.09.2017
03:12:14
electron v1.7.8 https://github.com/electron/electron/releases/tag/v1.7.8 Bug Fixes [SECURITY] Fixed Chromium RCE vulnerability Linux Fixed app.makeSingleInstance hanging. #10586 (https://github.com/electron/electron/pull/10586) macOS Fixed missing extension when saving a file without filters #10586 (https://github.com/electron/electron/pull/10586)

electron v1.6.14 https://github.com/electron/electron/releases/tag/v1.6.14 (placeholder)

n01d
25.09.2017
12:03:07
Товарищи, может кто в курсе, есть у электрона какая-нить переменная для перенаправления биннарников с гитхаба на внутренний репозиторий? По аналогии с sass_binary_site у NodeSass, или phantomjs_cdnurl для PhantomJS соответственно.

Нагуглил. Если кому-то будет актуально: electron_mirror

Nickolai
25.09.2017
13:33:01
Вопрос к тем, кто использовал electron-forge на Linux. Как правильно в конфиге указывать postinstall скрипт? Вроде указал, сделал его исполняемым, а он не выполняется структура forge.config.js config -> electronInstallerDebian -> { scripts: source/postinstall.bash }

Electron.js releases
29.09.2017
00:41:25
electron v1.8.1 beta https://github.com/electron/electron/releases/tag/v1.8.1 Note: This is a beta release. This is the first release running on upgraded versions of Chrome/Node.js/V8 and most likely will have have some instability and/or regressions. Please file new issues for any bugs you find in it. This release is published to npm (https://www.npmjs.com/package/electron) under the beta tag and can be installed via npm install electron@beta, or npm i electron@1.8.1. Upgrades Upgraded from Chrome 58.0.3029.110 to 59.0.3071.115. #9946 (https://github.com/electron/electron/pull/9946) Upgraded from Node 7.9.0 to 8.2.1. #9992 (https://github.com/electron/electron/pull/9992) Upgraded from v8 5.8.283.38 to 5.9.211.38. #9946 (https://github.com/electron/electron/pull/9946) Upgraded from @types/node ^7.0.18 to ^8.0.24. #10328 (https://github.com/electron/electron/pull/10328) Other Changes Added arm64 builds. #10219 (https://github.com/electron/electron/pull/10219) Ensure DesktopCapturers are destroyed when no longer needed. #10223 (https://github.com/electron/electron/pull/10223) New guide for implementing updates. #10251 (https://github.com/electron/electron/pull/10251) Doc fixes. #10273 (https://github.com/electron/electron/pull/10273), #10304 (https://github.com/electron/electron/pull/10304), #10306 (https://github.com/electron/electron/pull/10306), #10215 (https://github.com/electron/electron/pull/10215), #10380 (https://github.com/electron/electron/pull/10380), #10453 (https://github.com/electron/electron/pull/10453), #10454 (https://github.com/electron/electron/pull/10454), #10472 (https://github.com/electron/electron/pull/10472), #10481 (https://github.com/electron/electron/pull/10481), #10487 (https://github.com/electron/electron/pull/10487), #10499 (https://github.com/electron/electron/pull/10499), #10497 (https://github.com/electron/electron/pull/10497), #10509 (https://github.com/electron/electron/pull/10509), #10540 (https://github.com/electron/electron/pull/10540), #10550 (https://github.com/electron/electron/pull/10550), #10542 (https://github.com/electron/electron/pull/10542), #10505 (https://github.com/electron/electron/pull/10505), #10326 (https://github.com/electron/electron/pull/10326) Fixed sandbox crash when opening a background tab. #10264 (https://github.com/electron/electron/pull/10264) Fixed contextIsolation not working when webPreference sandbox is on. #10214 (https://github.com/electron/electron/pull/10214) Fixed issue with webContents did-change-theme-color event. #10240 (https://github.com/electron/electron/issues/10240) Added tracking of the origin of webRequest events. #10429 (https://github.com/electron/electron/pull/10429) Added support for css in content_scripts. #10076 (https://github.com/electron/electron/pull/10076) Fixed mixed content errors when loading content from chrome-extension. #9950 (https://github.com/electron/electron/pull/9950) Fixed BrowserView auto-resize and BrowserWindow resize event. #10052 (https://github.com/electron/electron/pull/10052) Added getMenuItemById(id) to Menu API. #10440 (https://github.com/electron/electron/issues/10440) Fixed v.1.8.0 crashes. #10571 (https://github.com/electron/electron/issues/10571) Changed to not allow drag on fullscreen window. #10627 (https://github.com/electron/electron/pull/10627) [SECURITY] Fixed Chromium RCE vulnerability. Linux Added support for indicators in Ubuntu Gnome Session. #10355 (https://github.com/electron/electron/pull/10355) Fixed app.makeSingleInstance hanging. #10518 (https://github.com/electron/electron/pull/10518) macOS Fixed issues around update permissions and non-admin users. #10071 (https://github.com/electron/electron/pull/10071) #10298 (https://github.com/electron/electron/pull/10298) Fixed full screen when resizable is set to true. #8166 (https://github.com/electron/electron/issues/8166) Fixed missing file extension in download save dialog. #10121 (https://github.com/electron/electron/issues/10121)

Fixed occasional crashes on macOS Sierra when inputting with Chinese IME. #7551 (https://github.com/electron/electron/issues/7551) Fixed issue closing window if a child modal window is open. #10366 (https://github.com/electron/electron/pull/10366) Fixed show option on new BrowserWindow when parent is specified. #8836 (https://github.com/electron/electron/issues/8836) Fixed shell.openItem to activate the opened app. #10477 (https://github.com/electron/electron/issues/10477) Windows Fixed uncaught exception on window close. #10275 (https://github.com/electron/electron/pull/10275) Fixed Electron crash after close. #10188 (https://github.com/electron/electron/issues/10188) Fixed crash copying cropped image to clipboard. #8017 (https://github.com/electron/electron/issues/8017) Fixed potential crash in Win32 notifications. #10516 (https://github.com/electron/electron/pull/10516) Changed to set duration for Windows 7 notifications based on Control Panel settings. #10517 (https://github.com/electron/electron/pull/10517) Fixed browser-process notifications missing/duplicating images. #10610 (https://github.com/electron/electron/issues/10610) Fixed for narrowing conversion warnings, minor style change. #10609 (https://github.com/electron/electron/pull/10609) Fixed downloading updates twice. #5057 (https://github.com/electron/electron/issues/5057) API Changes Added -webkit-app-region support to BrowserView. #10232 (https://github.com/electron/electron/pull/10232) Added a callback option to webContents.print. #10081 (https://github.com/electron/electron/pull/10081) macOS Added support for sound in macOS notifications. #10293 (https://github.com/electron/electron/pull/10293) Added app.isInApplicationsFolder() and app.moveToApplicationsFolder(). #10142 (https://github.com/electron/electron/pull/10142) Added new roles for macOS native tab menu items. #9086 (https://github.com/electron/electron/issues/9086), #10064 (https://github.com/electron/electron/issues/10064) Added app.setAccessibilitySupportEnabled(enabled) to enable or disable accessibility support in macOS. #7206 (https://github.com/electron/electron/issues/7206), #10305 (https://github.com/electron/electron/pull/10305) Added macOS native tab methods to the BrowserWindow API. #10321 (https://github.com/electron/electron/pull/10321) Added simple fullscreen mode to the BrowserWindow API. #10254 (https://github.com/electron/electron/pull/10254) Added more Handoff related APIs. #9869 (https://github.com/electron/electron/pull/9869) Windows Added support to forward mouse events via win.setIgnoreMouseEvents(ignore[, options]). #10183 (https://github.com/electron/electron/pull/10183)

Google
Danko
29.09.2017
15:16:40
Подскажите как сделать что бы все запросы loadURL шли через прокси сервер. Вроде кучу всего перерыл и ни чего не нашел

Юрий
29.09.2017
19:52:14
Подскажите как сделать что бы все запросы loadURL шли через прокси сервер. Вроде кучу всего перерыл и ни чего не нашел
Слать в запросы на свой сервер(прокси) и в параметрах (либо как угодно) указать целевой url и назад также

И присылаете ответ

Страница 67 из 177