1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-01-31 09:05:14 +01:00

Moved all csv files to a separate directory

This commit is contained in:
Martin Tůma 2018-02-10 09:29:10 +01:00
parent 8dc5cb7aa8
commit 8d3fcc7a17
8 changed files with 8 additions and 18 deletions

View File

@ -34,11 +34,7 @@ build_script:
copy pkg\%NSI% installer copy pkg\%NSI% installer
copy pkg\ellipsoids.csv installer copy pkg\csv installer /i
copy pkg\gcs.csv installer
copy pkg\pcs.csv installer
xcopy pkg\maps installer\maps /i xcopy pkg\maps installer\maps /i

View File

@ -220,6 +220,8 @@ macx {
lang/gpxsee_fr.qm \ lang/gpxsee_fr.qm \
lang/gpxsee_ru.qm \ lang/gpxsee_ru.qm \
lang/gpxsee_sv.qm lang/gpxsee_sv.qm
CSV.path = Contents/Resources
CSV.files = pkg/csv
MAPS.path = Contents/Resources MAPS.path = Contents/Resources
MAPS.files = pkg/maps MAPS.files = pkg/maps
ICONS.path = Contents/Resources/icons ICONS.path = Contents/Resources/icons
@ -228,10 +230,6 @@ macx {
icons/fit.icns \ icons/fit.icns \
icons/igc.icns \ icons/igc.icns \
icons/nmea.icns icons/nmea.icns
CSV.path = Contents/Resources
CSV.files = pkg/ellipsoids.csv \
pkg/gcs.csv \
pkg/pcs.csv
QMAKE_BUNDLE_DATA += LOCALE MAPS ICONS CSV QMAKE_BUNDLE_DATA += LOCALE MAPS ICONS CSV
} }
win32 { win32 {

View File

@ -84,9 +84,7 @@ Section "GPXSee" SEC_APP
; Put the files there ; Put the files there
File "gpxsee.exe" File "gpxsee.exe"
File /r "maps" File /r "maps"
File "ellipsoids.csv" File /r "csv"
File "gcs.csv"
File "pcs.csv"
; Create start menu entry and add links ; Create start menu entry and add links
SetShellVarContext all SetShellVarContext all

View File

@ -91,9 +91,7 @@ Section "GPXSee" SEC_APP
; Put the files there ; Put the files there
File "gpxsee.exe" File "gpxsee.exe"
File /r "maps" File /r "maps"
File "ellipsoids.csv" File /r "csv"
File "gcs.csv"
File "pcs.csv"
; Create start menu entry and add links ; Create start menu entry and add links
SetShellVarContext all SetShellVarContext all

View File

@ -12,9 +12,9 @@
#define FONT_FAMILY "Arial" #define FONT_FAMILY "Arial"
#define FONT_SIZE 12 // px #define FONT_SIZE 12 // px
#define ELLIPSOID_FILE QString("ellipsoids.csv") #define ELLIPSOID_FILE QString("csv/ellipsoids.csv")
#define GCS_FILE QString("gcs.csv") #define GCS_FILE QString("csv/gcs.csv")
#define PCS_FILE QString("pcs.csv") #define PCS_FILE QString("csv/pcs.csv")
#define MAP_DIR QString("maps") #define MAP_DIR QString("maps")
#define POI_DIR QString("POI") #define POI_DIR QString("POI")