Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

Commit

Permalink
Bump version, signature
Browse files Browse the repository at this point in the history
  • Loading branch information
pierr3 committed Oct 24, 2023
1 parent df650bd commit 32951be
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 6 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,25 @@ jobs:
- name: Bundle OSX
run: |
./bundle_osx.sh
- name: Sign binary
uses: lando/code-sign-action@v2
with:
file: build/VectorAudio.app
certificate-data: ${{ secrets.APPLE_CERT_DATA }}
certificate-password: ${{ secrets.APPLE_CERT_PASSWORD }}
apple-team-id: ${{ secrets.APPLE_TEAM_ID }}
options: --deep --timestamp --force
- name: Create DMG
run: |
brew install create-dmg
create-dmg --volname "Vector Audio Installer" --app-drop-link 600 185 --window-size 800 400 --icon "VectorAudio.app" 200 190 "VectorAudio-${{ env.RELEASE_VERSION }}-Universal.dmg" "build/VectorAudio.app"
- name: Sign DMG
uses: lando/code-sign-action@v2
with:
file: VectorAudio-${{ env.RELEASE_VERSION }}-Universal.dmg
certificate-data: ${{ secrets.APPLE_CERT_DATA }}
certificate-password: ${{ secrets.APPLE_CERT_PASSWORD }}
apple-team-id: ${{ secrets.APPLE_TEAM_ID }}
- name: Release
uses: softprops/action-gh-release@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.4.0
1.5.0
2 changes: 1 addition & 1 deletion lib/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.19.0
v0.20.0
10 changes: 6 additions & 4 deletions src/data_file_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@ bool vector_audio::vatsim::DataHandler::parseSlurper(
|| util::endsWith(res[1], "_DEL") || util::endsWith(res[1], "_FSS")
|| util::endsWith(res[1], "_SUP") || util::endsWith(res[1], "_RDO")
|| util::endsWith(res[1], "_RMP") || util::endsWith(res[1], "_TMU")
|| util::endsWith(res[1], "_FMP"))
|| util::endsWith(res[1], "_FMP")) {
yx_ = true;
}

callsign = res[1];
res3 = res[3];
Expand All @@ -79,7 +80,7 @@ bool vector_audio::vatsim::DataHandler::parseSlurper(
}

res3.erase(std::remove(res3.begin(), res3.end(), '.'), res3.end());
int u334 = std::atoi(res3.c_str())*1000;
int u334 = std::atoi(res3.c_str()) * 1000;

int k422 = std::stoi(res2, nullptr, 16) == 10 && yx_
&& u334 != shared::kObsFrequency
Expand Down Expand Up @@ -213,8 +214,9 @@ bool vector_audio::vatsim::DataHandler::parseDatafile(const std::string& data)
}

auto res3 = controller["frequency"].get<std::string>();
res3.erase(std::remove(res3.begin(), res3.end(), '.'), res3.end());
int u334 = std::atoi(res3.c_str())*1000;
res3.erase(
std::remove(res3.begin(), res3.end(), '.'), res3.end());
int u334 = std::atoi(res3.c_str()) * 1000;

vector_audio::vatsim::DataHandler::updateSessionInfo(callsign,
util::cleanUpFrequency(u334),
Expand Down

0 comments on commit 32951be

Please sign in to comment.