mirror of
https://github.com/libsdl-org/SDL
synced 2024-11-20 16:06:10 -07:00
README-macos: Typo fixes.
Some checks failed
Build (Android) / ${{ matrix.platform.name }} (map[android_abi:arm64-v8a android_platform:23 arch:aarch64 cmake:1 name:CMake]) (push) Has been cancelled
Build (Android) / ${{ matrix.platform.name }} (map[name:Android.mk]) (push) Has been cancelled
Build (C/P Actions) / FreeBSD (push) Has been cancelled
Build (Emscripten) / emscripten (push) Has been cancelled
Build (iOS/tvOS) / ${{ matrix.platform.name }} (map[name:iOS sdk:iphoneos target:Static Library-iOS]) (push) Has been cancelled
Build (iOS/tvOS) / ${{ matrix.platform.name }} (map[name:tvOS sdk:appletvos target:Static Library-tvOS]) (push) Has been cancelled
Build / ${{ matrix.platform.name }} (map[artifact:SDL-ubuntu20.04-icc cmake:-DSDL_CLANG_TIDY=OFF intel:true name:Intel Compiler (Ubuntu 20.04) os:ubuntu-20.04 shell:bash source_cmd:source /opt/intel/oneapi/setvars.sh; export CC=icc; export CXX=icpc; export CFL… (push) Has been cancelled
Build / ${{ matrix.platform.name }} (map[artifact:SDL-ubuntu20.04-oneapi intel:true name:Intel oneAPI (Ubuntu 20.04) os:ubuntu-20.04 shell:bash source_cmd:source /opt/intel/oneapi/setvars.sh; export CC=icx; export CXX=icx;]) (push) Has been cancelled
Build / ${{ matrix.platform.name }} (map[autotools:true name:MacOS (autotools) os:macos-latest shell:sh]) (push) Has been cancelled
Build / ${{ matrix.platform.name }} (map[autotools:true name:Ubuntu 20.04 (autotools) os:ubuntu-20.04 shell:sh]) (push) Has been cancelled
Build / ${{ matrix.platform.name }} (map[autotools:true name:Ubuntu 22.04 (autotools) os:ubuntu-22.04 shell:sh]) (push) Has been cancelled
Build / ${{ matrix.platform.name }} (map[cmake:-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" name:MacOS (CMake) os:macos-latest shell:sh]) (push) Has been cancelled
Build / ${{ matrix.platform.name }} (map[msys-env:mingw-w64-clang-i686 msystem:clang32 name:Windows (clang32) os:windows-latest shell:msys2 {0}]) (push) Has been cancelled
Build / ${{ matrix.platform.name }} (map[msys-env:mingw-w64-clang-x86_64 msystem:clang64 name:Windows (clang64) os:windows-latest shell:msys2 {0}]) (push) Has been cancelled
Build / ${{ matrix.platform.name }} (map[msys-env:mingw-w64-i686 msystem:mingw32 name:Windows (mingw32) os:windows-latest shell:msys2 {0}]) (push) Has been cancelled
Build / ${{ matrix.platform.name }} (map[msys-env:mingw-w64-ucrt-x86_64 msystem:ucrt64 name:Windows (ucrt64) os:windows-latest shell:msys2 {0}]) (push) Has been cancelled
Build / ${{ matrix.platform.name }} (map[msys-env:mingw-w64-x86_64 msystem:mingw64 name:Windows (mingw64) os:windows-latest shell:msys2 {0}]) (push) Has been cancelled
Build / ${{ matrix.platform.name }} (map[name:Ubuntu 20.04 (CMake) os:ubuntu-20.04 shell:sh]) (push) Has been cancelled
Build / ${{ matrix.platform.name }} (map[name:Ubuntu 22.04 (CMake) os:ubuntu-22.04 shell:sh]) (push) Has been cancelled
Build (MSVC) / ${{ matrix.platform.name }} (map[flags:-A ARM name:Windows (ARM)]) (push) Has been cancelled
Build (MSVC) / ${{ matrix.platform.name }} (map[flags:-A ARM64 name:Windows (ARM64)]) (push) Has been cancelled
Build (MSVC) / ${{ matrix.platform.name }} (map[flags:-A Win32 -DSDL_FORCE_STATIC_VCRT=ON name:Windows static VCRT (x86)]) (push) Has been cancelled
Build (MSVC) / ${{ matrix.platform.name }} (map[flags:-A Win32 name:Windows (x86) project:VisualC/SDL.sln projectflags:/p:Platform=Win32]) (push) Has been cancelled
Build (MSVC) / ${{ matrix.platform.name }} (map[flags:-A x64 -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION="10.0" -DSDL_TESTS=OFF name:UWP (x64) nowerror:true project:VisualC-WinRT/SDL-UWP.sln projectflags:/p:Platform=x64 /p:WindowsTargetPlatformVersion=10.… (push) Has been cancelled
Build (MSVC) / ${{ matrix.platform.name }} (map[flags:-A x64 -DSDL_FORCE_STATIC_VCRT=ON name:Windows static VCRT (x64)]) (push) Has been cancelled
Build (MSVC) / ${{ matrix.platform.name }} (map[flags:-A x64 name:Windows (x64) project:VisualC/SDL.sln projectflags:/p:Platform=x64]) (push) Has been cancelled
Build (MSVC) / ${{ matrix.platform.name }} (map[flags:-T ClangCL -A Win32 name:Windows (clang-cl x86)]) (push) Has been cancelled
Build (MSVC) / ${{ matrix.platform.name }} (map[flags:-T ClangCL -A x64 name:Windows (clang-cl x64)]) (push) Has been cancelled
Build (Nintendo 3DS) / n3ds (push) Has been cancelled
Build (Sony Playstation 2) / ps2 (push) Has been cancelled
Build (Sony Playstation Portable) / psp (push) Has been cancelled
Build (RISC OS) / ${{ matrix.platform.name }} (map[name:CMake]) (push) Has been cancelled
Build (RISC OS) / ${{ matrix.platform.name }} (map[name:autotools test_args:-DTEST_SHARED=FALSE]) (push) Has been cancelled
Build (Sony Playstation Vita) / ${{ matrix.platform.name }} (map[name:GLES (PVR_PSP2 + gl4es4vita) os:windows-latest pvr:true]) (push) Has been cancelled
Build (Sony Playstation Vita) / ${{ matrix.platform.name }} (map[name:GLES (pib) os:windows-latest pib:true]) (push) Has been cancelled
Build (OpenWatcom) / ${{ matrix.platform.name }} (map[makefile:Makefile.os2 name:OS/2]) (push) Has been cancelled
Build (OpenWatcom) / ${{ matrix.platform.name }} (map[makefile:Makefile.w32 name:Windows]) (push) Has been cancelled
Some checks failed
Build (Android) / ${{ matrix.platform.name }} (map[android_abi:arm64-v8a android_platform:23 arch:aarch64 cmake:1 name:CMake]) (push) Has been cancelled
Build (Android) / ${{ matrix.platform.name }} (map[name:Android.mk]) (push) Has been cancelled
Build (C/P Actions) / FreeBSD (push) Has been cancelled
Build (Emscripten) / emscripten (push) Has been cancelled
Build (iOS/tvOS) / ${{ matrix.platform.name }} (map[name:iOS sdk:iphoneos target:Static Library-iOS]) (push) Has been cancelled
Build (iOS/tvOS) / ${{ matrix.platform.name }} (map[name:tvOS sdk:appletvos target:Static Library-tvOS]) (push) Has been cancelled
Build / ${{ matrix.platform.name }} (map[artifact:SDL-ubuntu20.04-icc cmake:-DSDL_CLANG_TIDY=OFF intel:true name:Intel Compiler (Ubuntu 20.04) os:ubuntu-20.04 shell:bash source_cmd:source /opt/intel/oneapi/setvars.sh; export CC=icc; export CXX=icpc; export CFL… (push) Has been cancelled
Build / ${{ matrix.platform.name }} (map[artifact:SDL-ubuntu20.04-oneapi intel:true name:Intel oneAPI (Ubuntu 20.04) os:ubuntu-20.04 shell:bash source_cmd:source /opt/intel/oneapi/setvars.sh; export CC=icx; export CXX=icx;]) (push) Has been cancelled
Build / ${{ matrix.platform.name }} (map[autotools:true name:MacOS (autotools) os:macos-latest shell:sh]) (push) Has been cancelled
Build / ${{ matrix.platform.name }} (map[autotools:true name:Ubuntu 20.04 (autotools) os:ubuntu-20.04 shell:sh]) (push) Has been cancelled
Build / ${{ matrix.platform.name }} (map[autotools:true name:Ubuntu 22.04 (autotools) os:ubuntu-22.04 shell:sh]) (push) Has been cancelled
Build / ${{ matrix.platform.name }} (map[cmake:-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" name:MacOS (CMake) os:macos-latest shell:sh]) (push) Has been cancelled
Build / ${{ matrix.platform.name }} (map[msys-env:mingw-w64-clang-i686 msystem:clang32 name:Windows (clang32) os:windows-latest shell:msys2 {0}]) (push) Has been cancelled
Build / ${{ matrix.platform.name }} (map[msys-env:mingw-w64-clang-x86_64 msystem:clang64 name:Windows (clang64) os:windows-latest shell:msys2 {0}]) (push) Has been cancelled
Build / ${{ matrix.platform.name }} (map[msys-env:mingw-w64-i686 msystem:mingw32 name:Windows (mingw32) os:windows-latest shell:msys2 {0}]) (push) Has been cancelled
Build / ${{ matrix.platform.name }} (map[msys-env:mingw-w64-ucrt-x86_64 msystem:ucrt64 name:Windows (ucrt64) os:windows-latest shell:msys2 {0}]) (push) Has been cancelled
Build / ${{ matrix.platform.name }} (map[msys-env:mingw-w64-x86_64 msystem:mingw64 name:Windows (mingw64) os:windows-latest shell:msys2 {0}]) (push) Has been cancelled
Build / ${{ matrix.platform.name }} (map[name:Ubuntu 20.04 (CMake) os:ubuntu-20.04 shell:sh]) (push) Has been cancelled
Build / ${{ matrix.platform.name }} (map[name:Ubuntu 22.04 (CMake) os:ubuntu-22.04 shell:sh]) (push) Has been cancelled
Build (MSVC) / ${{ matrix.platform.name }} (map[flags:-A ARM name:Windows (ARM)]) (push) Has been cancelled
Build (MSVC) / ${{ matrix.platform.name }} (map[flags:-A ARM64 name:Windows (ARM64)]) (push) Has been cancelled
Build (MSVC) / ${{ matrix.platform.name }} (map[flags:-A Win32 -DSDL_FORCE_STATIC_VCRT=ON name:Windows static VCRT (x86)]) (push) Has been cancelled
Build (MSVC) / ${{ matrix.platform.name }} (map[flags:-A Win32 name:Windows (x86) project:VisualC/SDL.sln projectflags:/p:Platform=Win32]) (push) Has been cancelled
Build (MSVC) / ${{ matrix.platform.name }} (map[flags:-A x64 -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION="10.0" -DSDL_TESTS=OFF name:UWP (x64) nowerror:true project:VisualC-WinRT/SDL-UWP.sln projectflags:/p:Platform=x64 /p:WindowsTargetPlatformVersion=10.… (push) Has been cancelled
Build (MSVC) / ${{ matrix.platform.name }} (map[flags:-A x64 -DSDL_FORCE_STATIC_VCRT=ON name:Windows static VCRT (x64)]) (push) Has been cancelled
Build (MSVC) / ${{ matrix.platform.name }} (map[flags:-A x64 name:Windows (x64) project:VisualC/SDL.sln projectflags:/p:Platform=x64]) (push) Has been cancelled
Build (MSVC) / ${{ matrix.platform.name }} (map[flags:-T ClangCL -A Win32 name:Windows (clang-cl x86)]) (push) Has been cancelled
Build (MSVC) / ${{ matrix.platform.name }} (map[flags:-T ClangCL -A x64 name:Windows (clang-cl x64)]) (push) Has been cancelled
Build (Nintendo 3DS) / n3ds (push) Has been cancelled
Build (Sony Playstation 2) / ps2 (push) Has been cancelled
Build (Sony Playstation Portable) / psp (push) Has been cancelled
Build (RISC OS) / ${{ matrix.platform.name }} (map[name:CMake]) (push) Has been cancelled
Build (RISC OS) / ${{ matrix.platform.name }} (map[name:autotools test_args:-DTEST_SHARED=FALSE]) (push) Has been cancelled
Build (Sony Playstation Vita) / ${{ matrix.platform.name }} (map[name:GLES (PVR_PSP2 + gl4es4vita) os:windows-latest pvr:true]) (push) Has been cancelled
Build (Sony Playstation Vita) / ${{ matrix.platform.name }} (map[name:GLES (pib) os:windows-latest pib:true]) (push) Has been cancelled
Build (OpenWatcom) / ${{ matrix.platform.name }} (map[makefile:Makefile.os2 name:OS/2]) (push) Has been cancelled
Build (OpenWatcom) / ${{ matrix.platform.name }} (map[makefile:Makefile.w32 name:Windows]) (push) Has been cancelled
(Manually cherry-picked from 199e6929e5284b8573f02dcb655d3803ed436615.)
This commit is contained in:
parent
fe9020dcb8
commit
279eb89ce5
1 changed files with 4 additions and 4 deletions
|
@ -261,10 +261,10 @@ Some things that may be of interest about how it all works...
|
|||
## Working directory
|
||||
|
||||
In SDL 1.2, the working directory of your SDL app is by default set to its
|
||||
parent, but this is no longer the case in SDL 2.0. SDL2 does change the
|
||||
working directory, which means it'll be whatever the command line prompt
|
||||
that launched the program was using, or if launched by double-clicking in
|
||||
the finger, it will be "/", the _root of the filesystem_. Plan accordingly!
|
||||
parent, but this is no longer the case in SDL 2.0 and later. SDL2 does not
|
||||
change the working directory, which means it'll be whatever the command line
|
||||
prompt that launched the program was using, or if launched by double-clicking
|
||||
in the Finder, it will be "/", the _root of the filesystem_. Plan accordingly!
|
||||
You can use SDL_GetBasePath() to find where the program is running from and
|
||||
chdir() there directly.
|
||||
|
||||
|
|
Loading…
Reference in a new issue