Commits
70 70 | if ( ! - $app_path ) { die "app directory does not exist (or is not a directory)" } |
71 71 | my( $filename, $dirs, $suffix ) = ( $app_path, ".app" ); |
72 72 | $app_exe = "__bin__/$app_name/Contents/MacOS/$filename"; |
73 73 | $subst{'@APP@'} = $app_exe; |
74 74 | |
75 75 | # Apple Silicon Macs use Qt5, which requires that qt.conf is present |
76 76 | $cpuarch=`uname -m`; |
77 77 | chomp($cpuarch); |
78 78 | print ("CPU Architecture: '$cpuarch'\n"); |
79 79 | if ($cpuarch eq "arm64") { |
80 - | open my $fileHandle, ">>", "$app_path/__bin__/$app_name/Contents/Resources/qt.conf" or die "Can't open '$app_path/__bin__/$app_name/Contents/Resources/qt.conf'\n"; |
80 + | open my $fileHandle, ">>", "$app_path/Contents/Resources/qt.conf" or die "Can't open '$app_path/Contents/Resources/qt.conf'\n"; |
81 81 | close $fileHandle; |
82 82 | } |
83 83 | |
84 84 | } else { |
85 85 | if ( ! - $app_path ) { die "app image does not exist" } |
86 86 | $app_exe = "__bin__/$app_name"; |
87 87 | $subst{'@APP@'} = $app_exe; |
88 88 | } |
89 89 | |
90 90 | "src/casalogger", $prefix); | (