File tree Expand file tree Collapse file tree 6 files changed +13
-9
lines changed
ru.qreal.root.associations/meta
qrgui/mainWindow/startWidget Expand file tree Collapse file tree 6 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ Component.prototype.createOperations = function()
99 if ( installer . value ( "os" ) === "win" ) {
1010 component . addOperation ( "RegisterFileType" ,
1111 "tsj" ,
12- "@TargetDir@\\" + installer . executableName + " \"%1\"" ,
12+ "@TargetDir@\\" + installer . executableName + installer . execExtension + " \"%1\"" ,
1313 "@ProductName@ Project" ,
1414 "application/octet-stream" ) ;
1515 }
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ cp $BIN_DIR/qrgui-tool-plugin-interface.dll $PWD/../data
2929cp $BIN_DIR /qrgui-facade.dll $PWD /../data
3030cp " $BIN_DIR /patcher.exe" " $PWD /../data"
3131cp $BIN_DIR /trik-studio.exe $PWD /../data/$PRODUCT .exe
32+ cp $INSTALLER_ROOT /platform/$PRODUCT .cmd $PWD /../data/
3233cp $BIN_DIR /plugins/tools/updatesChecker.dll $PWD /../data/plugins/tools/
3334cp $BIN_DIR /plugins/tools/subprogramsImporterExporter.dll $PWD /../data/plugins/tools/
3435
Original file line number Diff line number Diff line change 1- FOR /F " tokens=* USEBACKQ" %%F IN (`where java`) DO (SET JAVA_PATH=%%~dpF )
2-
3- set PATH = %SystemRoot% ;%SystemRoot% \system32;%JAVA_PATH% ;
4- %~dp0 trik-studio.exe %*
1+ @ echo off
2+ title TRIK Studio Safe Mode
3+ FOR /F " tokens=* USEBACKQ" %%F IN (`where java 2^ > NUL `) DO (SET JAVA_PATH=%%~dpF )
4+ set PATH = %SystemRoot% ;%SystemRoot% \system32;%JAVA_PATH%
5+ start " " %~dp0 trik-studio.exe %*
Original file line number Diff line number Diff line change @@ -152,9 +152,11 @@ QWidget *StartWidget::createProjectsManagementWidget()
152152 }
153153
154154 mProjectsManagementLayout ->addWidget (mOpenProjectButton );
155- mProjectsManagementLayout ->addWidget (mNewProjectButton );
155+ if (mNewProjectButton ) {
156+ mProjectsManagementLayout ->addWidget (mNewProjectButton );
157+ }
156158
157- QWidget * const result = new QWidget;
159+ QWidget * const result = new QWidget () ;
158160 result->setLayout (mProjectsManagementLayout );
159161 return result;
160162}
Original file line number Diff line number Diff line change @@ -1006,7 +1006,7 @@ WARNING: The settings will be restored after application restart</source>
10061006 <translation type =" unfinished" >Ouvrir un projet</translation >
10071007 </message >
10081008 <message >
1009- <location line =" +56 " />
1009+ <location line =" +58 " />
10101010 <source >Recent projects</source >
10111011 <translation >Projets récents</translation >
10121012 </message >
Original file line number Diff line number Diff line change @@ -1116,7 +1116,7 @@ WARNING: The settings will be restored after application restart</source>
11161116 <translation >Открыть проект</translation >
11171117 </message >
11181118 <message >
1119- <location line =" +56 " />
1119+ <location line =" +58 " />
11201120 <source >Recent projects</source >
11211121 <translation >Недавние проекты</translation >
11221122 </message >
You can’t perform that action at this time.
0 commit comments