Skip to content

Instantly share code, notes, and snippets.

@Mars7383
Created October 4, 2021 20:07
Show Gist options
  • Save Mars7383/443dc9cde108e0cc0d3b14cb37127da5 to your computer and use it in GitHub Desktop.
Save Mars7383/443dc9cde108e0cc0d3b14cb37127da5 to your computer and use it in GitHub Desktop.
Simple C++ app to open Cali-Ware using crossliner's TLS fix and mattt's headless mode
#include<iostream>
int main()
{
// TLS fix discovered by crossliner#5755
// Made to work in headless mode by mattt#0001
system("NODE_TLS_REJECT_UNAUTHORIZED='0' '/Applications/Cali-Ware\ UI.app/Contents/MacOS/Cali-Ware\ UI' > /dev/null 2>&1 < /dev/null &");
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment