This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 143143
144144<br >
145145</details >
146+
147+
148+ ## Отладка
149+
150+ 1 . Запустить приложение в режиме отладки можно командой
151+ > В этом режиме вам станет доступен инспектор
152+
153+ ``` bash
154+ env debug=1 ./start
155+ ```
156+
157+ 2 . Сборка проекта
158+
159+ ``` bash
160+ npm i
161+ npm run build
162+ ```
163+ > После сборки в директории ` dist ` появится собранный файл ` start `
164+
165+ 3 . Разработка
166+
167+ > Шаг 1. Запустите веб морду на Vue
168+
169+ ``` bash
170+ npm run serve
171+ ```
172+
173+ > Шаг 2. Запустите приложение в режиме отладки
174+
175+ ``` bash
176+ env debug=1 ./start
177+ ```
178+
179+ > Шаг 3. В инспекторе перейдите на адрес
180+
181+ ``` js
182+ app .href (' http://localhost:8080' )
183+ ```
Original file line number Diff line number Diff line change @@ -185,11 +185,10 @@ export default class Prefix {
185185
186186 this . rootDir = path . resolve ( startFile , '..' ) ;
187187
188- const binDir = path . resolve ( this . rootDir , '..' ) + this . binDir ;
189- const prefixDir = path . resolve ( this . rootDir , '..' ) + this . winePrefixDir ;
188+ const binDir = path . resolve ( this . rootDir , '..' ) + this . binDir ;
190189 const dataDir = path . resolve ( this . rootDir , '..' ) + this . dataDir ;
191190
192- if ( this . fs . exists ( binDir ) && this . fs . exists ( prefixDir ) && this . fs . exists ( dataDir ) ) {
191+ if ( this . fs . exists ( binDir ) && this . fs . exists ( dataDir ) ) {
193192 this . rootDir = path . resolve ( this . rootDir , '..' ) ;
194193 }
195194
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ const fs = require('fs');
88
99export default class Update {
1010
11- version = '1.4.30 ' ;
11+ version = '1.4.31 ' ;
1212
1313 /**
1414 * @type {string }
You can’t perform that action at this time.
0 commit comments