1
0
Fork 0
forked from lthn/blockchain

added zano url-scheme handler MacOS, Windows, Linux setups (#307)

* added zano url-scheme handler MacOS, Windows, Linux setups

* pass parameters to executable and print console

Co-authored-by: Barış Çelik <bariscelik@Barss-MacBook-Air.local>
This commit is contained in:
Barış ÇELİK 2021-11-22 18:32:23 +03:00 committed by GitHub
parent 493855b6b1
commit 2c464f4218
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -26,6 +26,10 @@ int main(int argc, char *argv[])
// See http://crbug.com/436603.
// _set_FMA3_enable(0);
//#endif // ARCH_CPU_X86_64 && _MSC_VER <= 1800
std::cout << argc << std::endl;
std::cout << argv[0] << std::endl;
std::cout << argv[1] << std::endl;
#ifdef _MSC_VER
#ifdef _WIN64

View file

@ -29,7 +29,7 @@ create_desktop_icon()
echo GenericName=My Application | tee -a $target_file_name > /dev/null
echo Comment=Doing some funny stuff | tee -a $target_file_name > /dev/null
echo Icon=$script_dir/html/files/desktop_linux_icon.png | tee -a $target_file_name > /dev/null
echo Exec=$script_dir/Zano | tee -a $target_file_name > /dev/null
echo Exec=$script_dir/Zano %u | tee -a $target_file_name > /dev/null
echo Terminal=true | tee -a $target_file_name > /dev/null
echo Type=Application | tee -a $target_file_name > /dev/null
echo "Categories=Qt;Utility;" | tee -a $target_file_name > /dev/null