aboutsummaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2025-07-30No more bash (#1106)OrioleNix
* Make it actually non-bash dependent changed the way script_dir is found to not call on bash * Make dynamic install not bash dependent Removes a bash requirement for the env call * Update APPIMAGE_INSTALL.sh * Update DYNAMIC_INSTALL.sh
2025-07-28Fixing shebang statements for edge cases (#1105)OrioleNix
* selecting /usr/bin/env helps edgecases There are systems (though rare) that don't have bash, but instead only have sh, or zsh, etc, which would otherwise be able to use our shell scripts, there's no reason to not allow the environment to select its shell. * Update DYNAMIC_INSTALL.sh This applies to both the dynamic and appimage installations
2025-03-17More Linux integration (#1085)lambdcalculus
* Add integration shell scripts for linux! These shell scripts (one for appimage and one for dynamic) both should: 1: Move the program files to ~/.local/Attorney_Online 2: Create a .desktop file (which is what applications on Linux use to know to be interacted with) in the ~/.local/share/applications folder (where all other user applications tend to go), with at current a temporary logo until the logo file is parsed out from the xapplication window. 3: open the application, assuming the necessary dependencies are fulfilled Dynamic required some further support due to the startup shell command working correctly when you click it manually, but struggling on the .desktop folder, so it has the additional step of recreating the current launch.sh command, which still functions if you go to the folder to click it, or if you open the program before integration to test things. Both sh commands open AO2-Client at completion time. I hope this will help newer Linux users, or older Linux users who normally wouldn't bother, to bring AO into their normal day to day experience. This has been tested on (by me): Fedora 40 Workstation (Gnome) Arch Linux KDE Plasma 6 Ubuntu Unity 24.10 aka Oracular Oriole Debian 13 Trixie (Before it's freeze, marking date February 9th 2025) Thank you for reading, have a wonderful day! * linux CI tweaks * remove the need for `launch.sh` * add git hash as appimage version * bit of reorganization * add linux install scripts to CI * tweak linux install scripts to add install scripts * remove `launch.sh` (as per previous commit) * add instructions in README_LINUX * include icon in linux install * fix install script and fix typo * add exec path to desktop files * why would freedesktop.org do this to me --------- Co-authored-by: OrioleNix <163466443+OrioleNix@users.noreply.github.com>
2024-07-31Universal configure script (#1022)OmniTroid
* Init configure.sh * echo detected platform * Implement check_command * Implement install_bass_macos, plus checks * Ignore tmp * Add configure main function and bass installs * Less functions * Reformat file, add some stuff * Start adding automatic qt detection * Curl is more portable it seems * Try finding Qt's bundled cmake * fix cmake command checking * Reorder to windows first * do not download deps if already present * Add configure clean * Fix basic command checks * cmd fixes * thank you bash, very cool! * fix file shenanigans * unneccessary comment * Use qt_path instead of qt_cmake * Ignore apng folder * Rework with QT_PATH * Move find_qt to the top * move check_command near the top * Tidy up command checking * Rename QT_PATH to QT_ROOT and call the qt installation path QT_PATH instead * only clone qtapng if no dir * Cmake shenanigans * Fix build with ninja * Fix apng cp cmd * Fix apng check * Just call it cmake * Run cmake in configure.sh * Ignore generated files * Comment out mega cmake command * Fix apng check * more cmake stuff * make the cmake command we use very clear * ignore cmake_cmd.txt * Note that linux and macos is not supported * Update README * Add some stuff to windeployqt * Clone themes * macos fixes * Only call windeployqt on windows * Linux fixes * Remove linux todo comment * Remove git stuff from themes checkout * Note about vanilla content.. * Add note about formatting in readme * Remove e flag so script doesn't stop with no error messages * Note about toolchains on unix-likes * Fix cmake path on linux * Rework get_zip for better error handling and less unzipping unnecessary files * Adjust get_zip calls * Hopefully make error handling more robust * Fix bassopus on linux * linux bassopus pathing fix * Fix discord rpc linux * Add note about opengl * Ignore test_aopacket * Tidy up readme a bit again * Remove old configure scripts
2024-07-09Make launch.sh cwd-independent (#1011)lambdcalculus
2024-07-07Add AppImage CI build (#1005)lambdcalculus
* add AppImage CI build * specify ubuntu 22.04 LTS in CI * change +x bit * use tar to preserve permissions * make folder names nicer in the tar * clone themes before making tar archive --------- Co-authored-by: Salanto <62221668+Salanto@users.noreply.github.com>
2024-07-01Readme and script cleanup (#995)OmniTroid
* Ignore .idea * Ignore build dir too * Remove unused Windows Docker files * Remove somewhat cryptic launch.sh script * Remove kebab (javascript) * Remove outdated release_macos script and rename the most up-to-date one to macos_release * Clean up README.md and delete the other ones * Add preliminary configure script * Add hint in dependencies * Remove obsolete CONTRIBUTING.md * let's write the configure script later * Adding this is so supremely ironic that I can't even * Update QtApng repo * Actually we needed that * Add comment * Contact should be h2
2024-02-11Fix ubuntu build script (#936)OmniTroid
2022-07-19Linux ci (#816)stonedDiscord
* turn off sized deallocation on desktop * add an easy launch script and tar it to keep the +x bit * too many spaces * add os name and fix linux deploy
2022-03-25Midi music (#614)stonedDiscord
* add bassmidi everywhere but CI * hello CI please don't ban me from github * add lib and open midi files with the lib * overlooked windows CI * yes, overwrite everything * add tracker support * add file formats that bass supports * forgot .mid smh * load all plugins in one function
2021-01-04Add missing bassopus to the configure script (#361)Skye Deving
2020-08-13Merge master with some older CI changesoldmud0
2020-08-13Miscellaneous changes to CI scriptsoldmud0
2020-07-22fix mac builds, opus lib path was wrongsD
2020-07-05Mac CI: Fix wrong zip nameoldmud0
2020-07-05Fix Mac build missing audio (#180)oldmud0
2020-05-22Bring back CI changes and macOS supportoldmud0
2020-05-22Full revert to tag 2.6.2oldmud0
Due to a countless number of changes made to the core that were not fully understood, tested, or documented, it was decided to roll everything back to the last known stable version (2.6.2). Changes dropped include: - Witness needed - Shake - Frame SFX - Multiple custom objections - Multithreaded thumbnail generation - Looping - Various translation additions - "Mirror IC" - Color in IC log - An invocation of clang-format Next time, work together and split your big fork into independently testable feature branches.
2020-05-21Update CI pipeline for releaseoldmud0
2020-05-20wasabi_program.sh: use bash instead of sholdmud0
2020-05-19CI: Update Dockerfileoldmud0
2020-05-02Merge branch '2.7-rc'oldmud0
Includes full code reformat. # Conflicts: # src/aomusicplayer.cpp # src/path_functions.cpp
2020-04-18compress it moresD
2020-04-18this and post_build do the same thingsD
2020-04-18zip it and upload the correct filesD
2020-04-17Run clang-format on entire projectoldmud0
Indentation fixed to 2 spaces per tab. Braces set to Stroustrup style. Lines reflow at 80 characters. One-line method bodies are on the same line as the signature. Space always after `//`. No indentation on preprocessor macros. Includes are sorted lexicographically. If you don't want to see this commit on blames, use the hidden whitespace option on GitHub, or use `-w` in git-blame.
2019-08-13forgot macdeployqtmac builder
2019-08-13post build executablemac builder
2019-08-13bruh moment, qmake isn't in pathmac builder
2019-08-05Add double quotes around ${ROOT_DIR} (#91)windrammer
Without this the script fails with ./configure_ubuntu.sh: line 10: cd: too many arguments if there's any space in the patch of the root folder
2019-07-31Revert "make default clone compileable to improve new dev experience and ↵stonedDiscord
switch to qt on linux" This reverts commit bf8aad33de3b326f3a36cad33ced5d3acd7f2c24.
2019-07-31make default clone compileable to improve new dev experience and switch to ↵stonedDiscord
qt on linux
2019-07-29Update configure_ubuntu.shcents02
2019-07-29Ubuntu config gets curl toocents02
Config now gets curl incase of fresh vm.
2019-07-27CI: Add libarchive for launcher buildsoldmud0
2019-07-27CI: Fix entry point bug in build artifactoldmud0
2019-07-20Change the shebang of configure_ubuntu.sh from sh to bashwindrammer
because the script it's using the bash only variable BASH_SOURCE
2019-07-02Merge branch 'ci' into 'master'oldmud0
2019-06-29Mac improvementsDavid Skoland
Just modifying build scripts to make it less painful to build and release on Mac See merge request AttorneyOnline/AO2-Client!64
2019-04-11Use /bin/sh and exit immediately if a command fails.nnoodle
2019-04-03Use --name-status instead of --summaryoldmud0
2019-04-03I hate JavaScript sometimesoldmud0
2019-04-03Cover rename and deleted directory casesoldmud0
2019-04-03Fix typo in getting added/modified filesoldmud0
2019-04-03Remove S3_MANIFESTS and S3_ARCHIVESoldmud0
2019-04-03Fix issues parsing deletions fileoldmud0
2019-04-03Stronger check for array lengtholdmud0
2019-04-03Allow overwriting versions of same nameoldmud0
2019-04-03Fix type errors during argument parsingoldmud0
2019-04-03Fix unbound variable (again)oldmud0