1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-02 10:24:11 +01:00

Merge branch 'master' into OP-307_Firmware_Description_Packaging

This commit is contained in:
elafargue 2011-05-08 21:28:24 +02:00
commit a7b5a2d5f4
7 changed files with 41 additions and 22 deletions

View File

@ -16,4 +16,4 @@ for %%D in (%0) do set NSI=%%~dD%%~pD\openpilotgcs.nsi
rem Build installer
echo Generating Windows installer...
"%NSISC%" /V2 %NSI%
"%NSISC%" /V3 %NSI%

View File

@ -105,6 +105,12 @@
!define MUI_LANGDLL_REGISTRY_ROOT "HKCU"
!define MUI_LANGDLL_REGISTRY_KEY "Software\OpenPilot"
!define MUI_LANGDLL_REGISTRY_VALUENAME "Installer Language"
!define MUI_LANGDLL_ALWAYSSHOW
;--------------------------------
; Settings for MUI_PAGE_FINISH
!define MUI_FINISHPAGE_RUN
!define MUI_FINISHPAGE_RUN_FUNCTION "RunApplication"
;--------------------------------
; Pages
@ -122,8 +128,6 @@
!insertmacro MUI_UNPAGE_INSTFILES
!insertmacro MUI_UNPAGE_FINISH
; !define MUI_FINISHPAGE_RUN "$INSTDIR\bin\openpilotgcs.exe"
;--------------------------------
; Supported languages, license files and translations
@ -248,12 +252,18 @@ SectionEnd
Section "un.Maps cache" UnSecCache
; Remove maps cache
RMDir /r /rebootok "$PROFILE\OpenPilot"
RMDir /r /rebootok "$APPDATA\OpenPilot\mapscache"
SectionEnd
Section /o "un.Configuration" UnSecConfig
; Remove configuration
RMDir /r /rebootok "$APPDATA\OpenPilot"
Delete /rebootok "$APPDATA\OpenPilot\OpenPilotGCS.db"
Delete /rebootok "$APPDATA\OpenPilot\OpenPilotGCS.ini"
SectionEnd
Section "-un.Profile" UnSecProfile
; Remove OpenPilot user profile subdirectory if empty
RMDir "$APPDATA\OpenPilot"
SectionEnd
;--------------------------------
@ -273,3 +283,12 @@ Function un.onInit
!insertmacro MUI_UNGETLANGUAGE
FunctionEnd
;--------------------------------
; Function to run the application from installer
Function RunApplication
Exec '"$INSTDIR\bin\openpilotgcs.exe"'
FunctionEnd

View File

@ -1444,7 +1444,7 @@ OPMapGadget\Google%20Sat\data\showTileGridLines=false
OPMapGadget\Google%20Sat\data\accessMode=ServerAndCache
OPMapGadget\Google%20Sat\data\useMemoryCache=true
OPMapGadget\Google%20Sat\data\uavSymbol=mapquad.png
OPMapGadget\Google%20Sat\data\cacheLocation=%%STOREPATH%%mapscache-sat/
OPMapGadget\Google%20Sat\data\cacheLocation=
OPMapGadget\Google%20Sat\configInfo\version=0.0.0
OPMapGadget\Google%20Sat\configInfo\locked=false
OPMapGadget\Memory%20Only\data\mapProvider=GoogleMap
@ -1456,7 +1456,7 @@ OPMapGadget\Memory%20Only\data\showTileGridLines=false
OPMapGadget\Memory%20Only\data\accessMode=CacheOnly
OPMapGadget\Memory%20Only\data\useMemoryCache=true
OPMapGadget\Memory%20Only\data\uavSymbol=airplanepip.png
OPMapGadget\Memory%20Only\data\cacheLocation=%%STOREPATH%%mapscache/
OPMapGadget\Memory%20Only\data\cacheLocation=
OPMapGadget\Memory%20Only\configInfo\version=0.0.0
OPMapGadget\Memory%20Only\configInfo\locked=false
OPMapGadget\default\data\mapProvider=GoogleMap
@ -1468,7 +1468,7 @@ OPMapGadget\default\data\showTileGridLines=false
OPMapGadget\default\data\accessMode=ServerAndCache
OPMapGadget\default\data\useMemoryCache=true
OPMapGadget\default\data\uavSymbol=mapquad.png
OPMapGadget\default\data\cacheLocation=%%STOREPATH%%mapscache/
OPMapGadget\default\data\cacheLocation=
OPMapGadget\default\configInfo\version=0.0.0
OPMapGadget\default\configInfo\locked=false
PFDGadget\raw\data\dialFile=%%DATAPATH%%pfd/default/pfd.svg

View File

@ -46,8 +46,8 @@ Now you need to copy two files to your msysGit installation folders.
Assuming that you installed the msysGit into C:\Program Files\Git\,
you have to copy:
make\win32\make -> C:\Program Files\Git\bin\
make\win32\sh.cmd -> C:\Program Files\Git\cmd\
make\winx86\make -> C:\Program Files\Git\bin\
make\winx86\sh.cmd -> C:\Program Files\Git\cmd\
If you have msysGit installed into another directory, you need to update paths
accordingly. Also if you have tools installed into different directories and