mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-12-06 07:12:28 +01:00
Compare commits
3 commits
c627284664
...
6018b49abf
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6018b49abf | ||
|
|
84e452c3d6 | ||
|
|
54206c62b3 |
|
|
@ -6,7 +6,8 @@ export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
|
||||||
export HOMEBREW_NO_ENV_HINTS=1
|
export HOMEBREW_NO_ENV_HINTS=1
|
||||||
export HOMEBREW_NO_INSTALL_CLEANUP=1
|
export HOMEBREW_NO_INSTALL_CLEANUP=1
|
||||||
|
|
||||||
brew install -f --overwrite --quiet pipenv googletest ffmpeg@5 "llvm@$LLVM_COMPILER_VER" glew sdl3 vulkan-headers
|
brew install -f --overwrite --quiet pipenv googletest opencv@4 ffmpeg@5 "llvm@$LLVM_COMPILER_VER" glew sdl3 vulkan-headers
|
||||||
|
brew unlink --quiet ffmpeg qtbase qtsvg qtdeclarative
|
||||||
brew link -f --quiet "llvm@$LLVM_COMPILER_VER" ffmpeg@5
|
brew link -f --quiet "llvm@$LLVM_COMPILER_VER" ffmpeg@5
|
||||||
|
|
||||||
# moltenvk based on commit for 1.4.0 release
|
# moltenvk based on commit for 1.4.0 release
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,8 @@ brew link -f --overwrite --quiet "llvm@$LLVM_COMPILER_VER"
|
||||||
rm /usr/local/bin/{idle3.14,pip3.14,pydoc3.14,python3.14,python3.14-config} && \
|
rm /usr/local/bin/{idle3.14,pip3.14,pydoc3.14,python3.14,python3.14-config} && \
|
||||||
rm /usr/local/bin/{idle3,pip3,pydoc3,python3,python3-config}
|
rm /usr/local/bin/{idle3,pip3,pydoc3,python3,python3-config}
|
||||||
arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||||
arch -x86_64 /usr/local/bin/brew install -f --overwrite --quiet ffmpeg@5 "llvm@$LLVM_COMPILER_VER" glew sdl3 vulkan-headers
|
arch -x86_64 /usr/local/bin/brew install -f --overwrite --quiet opencv@4 ffmpeg@5 "llvm@$LLVM_COMPILER_VER" glew sdl3 vulkan-headers
|
||||||
|
arch -x86_64 /usr/local/bin/brew unlink --quiet ffmpeg qtbase qtsvg qtdeclarative
|
||||||
arch -x86_64 /usr/local/bin/brew link -f --overwrite --quiet "llvm@$LLVM_COMPILER_VER" ffmpeg@5
|
arch -x86_64 /usr/local/bin/brew link -f --overwrite --quiet "llvm@$LLVM_COMPILER_VER" ffmpeg@5
|
||||||
|
|
||||||
# moltenvk based on commit for 1.4.0 release
|
# moltenvk based on commit for 1.4.0 release
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,7 @@ cd bin
|
||||||
mkdir "rpcs3.app/Contents/lib/" || true
|
mkdir "rpcs3.app/Contents/lib/" || true
|
||||||
|
|
||||||
cp "$(realpath /opt/homebrew/opt/llvm@$LLVM_COMPILER_VER/lib/c++/libc++abi.1.0.dylib)" "rpcs3.app/Contents/Frameworks/libc++abi.1.dylib"
|
cp "$(realpath /opt/homebrew/opt/llvm@$LLVM_COMPILER_VER/lib/c++/libc++abi.1.0.dylib)" "rpcs3.app/Contents/Frameworks/libc++abi.1.dylib"
|
||||||
|
cp "$(realpath /opt/homebrew/opt/gcc/lib/gcc/current/libgcc_s.1.1.dylib)" "rpcs3.app/Contents/Frameworks/libgcc_s.1.1.dylib"
|
||||||
cp "$(realpath /opt/homebrew/lib/libsharpyuv.0.dylib)" "rpcs3.app/Contents/lib/libsharpyuv.0.dylib"
|
cp "$(realpath /opt/homebrew/lib/libsharpyuv.0.dylib)" "rpcs3.app/Contents/lib/libsharpyuv.0.dylib"
|
||||||
cp "$(realpath /opt/homebrew/lib/libintl.8.dylib)" "rpcs3.app/Contents/lib/libintl.8.dylib"
|
cp "$(realpath /opt/homebrew/lib/libintl.8.dylib)" "rpcs3.app/Contents/lib/libintl.8.dylib"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,8 +16,9 @@ echo "AVVER=$AVVER" >> ../.ci/ci-vars.env
|
||||||
cd bin
|
cd bin
|
||||||
mkdir "rpcs3.app/Contents/lib/"
|
mkdir "rpcs3.app/Contents/lib/"
|
||||||
|
|
||||||
cp "/usr/local/opt/llvm@$LLVM_COMPILER_VER/lib/c++/libc++abi.1.0.dylib" "rpcs3.app/Contents/Frameworks/libc++abi.1.dylib"
|
cp "$(realpath /usr/local/opt/llvm@$LLVM_COMPILER_VER/lib/c++/libc++abi.1.0.dylib)" "rpcs3.app/Contents/Frameworks/libc++abi.1.dylib"
|
||||||
cp "/usr/local/opt/llvm@$LLVM_COMPILER_VER/lib/unwind/libunwind.1.dylib" "rpcs3.app/Contents/Frameworks/libunwind.1.dylib"
|
cp "$(realpath /usr/local/opt/llvm@$LLVM_COMPILER_VER/lib/unwind/libunwind.1.dylib)" "rpcs3.app/Contents/Frameworks/libunwind.1.dylib"
|
||||||
|
cp "$(realpath /usr/local/opt/gcc/lib/gcc/current/libgcc_s.1.1.dylib)" "rpcs3.app/Contents/Frameworks/libgcc_s.1.1.dylib"
|
||||||
cp "$(realpath /usr/local/lib/libsharpyuv.0.dylib)" "rpcs3.app/Contents/lib/libsharpyuv.0.dylib"
|
cp "$(realpath /usr/local/lib/libsharpyuv.0.dylib)" "rpcs3.app/Contents/lib/libsharpyuv.0.dylib"
|
||||||
cp "$(realpath /usr/local/lib/libintl.8.dylib)" "rpcs3.app/Contents/lib/libintl.8.dylib"
|
cp "$(realpath /usr/local/lib/libintl.8.dylib)" "rpcs3.app/Contents/lib/libintl.8.dylib"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1178,13 +1178,7 @@ bool main_window::HandlePackageInstallation(QStringList file_paths, bool from_bo
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Executes after PrecompileCachesFromInstalledPackages
|
|
||||||
m_notify_batch_game_action_cb = [this, paths]() mutable
|
|
||||||
{
|
|
||||||
ShowOptionalGamePreparations(tr("Success!"), tr("Successfully installed software from package(s)!"), std::move(paths));
|
ShowOptionalGamePreparations(tr("Success!"), tr("Successfully installed software from package(s)!"), std::move(paths));
|
||||||
};
|
|
||||||
|
|
||||||
PrecompileCachesFromInstalledPackages(paths);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -2384,6 +2378,7 @@ void main_window::ShowOptionalGamePreparations(const QString& title, const QStri
|
||||||
|
|
||||||
QVBoxLayout* vlayout = new QVBoxLayout(dlg);
|
QVBoxLayout* vlayout = new QVBoxLayout(dlg);
|
||||||
|
|
||||||
|
QCheckBox* precompile_check = new QCheckBox(tr("Precompile caches"));
|
||||||
QCheckBox* desk_check = new QCheckBox(tr("Add desktop shortcut(s)"));
|
QCheckBox* desk_check = new QCheckBox(tr("Add desktop shortcut(s)"));
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
QCheckBox* quick_check = new QCheckBox(tr("Add Start menu shortcut(s)"));
|
QCheckBox* quick_check = new QCheckBox(tr("Add Start menu shortcut(s)"));
|
||||||
|
|
@ -2392,10 +2387,12 @@ void main_window::ShowOptionalGamePreparations(const QString& title, const QStri
|
||||||
#else
|
#else
|
||||||
QCheckBox* quick_check = new QCheckBox(tr("Add launcher shortcut(s)"));
|
QCheckBox* quick_check = new QCheckBox(tr("Add launcher shortcut(s)"));
|
||||||
#endif
|
#endif
|
||||||
QLabel* label = new QLabel(tr("%1\nWould you like to install shortcuts to the installed software? (%2 new software detected)\n\n").arg(message).arg(bootable_paths.size()), dlg);
|
QLabel* label = new QLabel(tr("%1\nWould you like to precompile caches and install shortcuts to the installed software? (%2 new software detected)\n\n").arg(message).arg(bootable_paths.size()), dlg);
|
||||||
|
|
||||||
vlayout->addWidget(label);
|
vlayout->addWidget(label);
|
||||||
vlayout->addStretch(10);
|
vlayout->addStretch(10);
|
||||||
|
vlayout->addWidget(precompile_check);
|
||||||
|
vlayout->addStretch(3);
|
||||||
vlayout->addWidget(desk_check);
|
vlayout->addWidget(desk_check);
|
||||||
vlayout->addStretch(3);
|
vlayout->addStretch(3);
|
||||||
vlayout->addWidget(quick_check);
|
vlayout->addWidget(quick_check);
|
||||||
|
|
@ -2408,6 +2405,7 @@ void main_window::ShowOptionalGamePreparations(const QString& title, const QStri
|
||||||
|
|
||||||
connect(btn_box, &QDialogButtonBox::accepted, this, [=, this, paths = std::move(bootable_paths)]()
|
connect(btn_box, &QDialogButtonBox::accepted, this, [=, this, paths = std::move(bootable_paths)]()
|
||||||
{
|
{
|
||||||
|
const bool precompile_caches = precompile_check->isChecked();
|
||||||
const bool create_desktop_shortcuts = desk_check->isChecked();
|
const bool create_desktop_shortcuts = desk_check->isChecked();
|
||||||
const bool create_app_shortcut = quick_check->isChecked();
|
const bool create_app_shortcut = quick_check->isChecked();
|
||||||
|
|
||||||
|
|
@ -2429,11 +2427,8 @@ void main_window::ShowOptionalGamePreparations(const QString& title, const QStri
|
||||||
locations.insert(gui::utils::shortcut_location::applications);
|
locations.insert(gui::utils::shortcut_location::applications);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (locations.empty())
|
if (!locations.empty())
|
||||||
{
|
{
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
std::vector<game_info> game_data_shortcuts;
|
std::vector<game_info> game_data_shortcuts;
|
||||||
|
|
||||||
for (const auto& [boot_path, title_id] : paths)
|
for (const auto& [boot_path, title_id] : paths)
|
||||||
|
|
@ -2459,6 +2454,12 @@ void main_window::ShowOptionalGamePreparations(const QString& title, const QStri
|
||||||
{
|
{
|
||||||
m_game_list_frame->CreateShortcuts(game_data_shortcuts, locations);
|
m_game_list_frame->CreateShortcuts(game_data_shortcuts, locations);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (precompile_caches)
|
||||||
|
{
|
||||||
|
PrecompileCachesFromInstalledPackages(paths);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
dlg->setAttribute(Qt::WA_DeleteOnClose);
|
dlg->setAttribute(Qt::WA_DeleteOnClose);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue