Skip to content

Commit

Permalink
feat(project): changed project name from bevy_game to path_of_summone…
Browse files Browse the repository at this point in the history
…r in various project files
  • Loading branch information
pedryx committed Apr 15, 2024
1 parent 14e07df commit d705b95
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 32 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ on:
required: true
type: string

# ToDo: adapt names
env:
# This variable is used to name release output files.
GAME_EXECUTABLE_NAME: bevy_game
GAME_OSX_APP_NAME: BevyGame
GAME_EXECUTABLE_NAME: path_of_summoner
GAME_OSX_APP_NAME: PathOfSummoner

permissions:
contents: write
Expand Down
30 changes: 15 additions & 15 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "bevy_game" # ToDo
name = "path_of_summoner"
version = "0.1.0"
publish = false
authors = ["Niklas Eicker <git@nikl.me>"] # ToDo: you are the author ;)
authors = ["Petr KotáB"]
edition = "2021"
exclude = ["dist", "build", "assets", "credits"]

Expand Down
8 changes: 4 additions & 4 deletions build/macos/src/Game.app/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>BevyGame</string> <!-- ToDo: this should be the same as your OSX app name in the release flow -->
<string>PathOfSummoner</string>
<key>CFBundleExecutable</key>
<string>bevy_game</string> <!-- ToDo: this should be the same as your executable name in the release flow -->
<string>path_of_summoner</string>
<key>CFBundleIconFile</key>
<string>AppIcon.icns</string>
<key>CFBundleIdentifier</key>
<string>your.domain.bevy-game</string> <!-- ToDo -->
<string>your.domain.path-of-summoner</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>Bevy Game</string> <!-- ToDo -->
<string>Path of Summoner</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
Expand Down
7 changes: 3 additions & 4 deletions build/windows/installer/Package.wxs
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:ui="http://wixtoolset.org/schemas/v4/wxs/ui">
<!-- ToDo use your own keys for Name and Manufacturer, as well as a new UUID for UpgradeCode -->
<Package
Name="BevyGame"
Manufacturer="My Name"
Name="PathOfSummoner"
Manufacturer="Petr Kotáb"
UpgradeCode="12345678-de4f-4893-a535-93dfd0597731"
Version="0.1.0"

Expand Down Expand Up @@ -35,7 +34,7 @@
<!-- Installs the actual files -->
<ComponentGroup Id="MainComponent" Directory="INSTALLFOLDER">
<Component>
<File Id="Executable" Source="..\..\..\target\dist\bevy_game.exe" Vital="true" /> <!-- ToDo this should point to your executable -->
<File Id="Executable" Source="..\..\..\target\dist\path_of_sumonner.exe" Vital="true" />
</Component>
</ComponentGroup>

Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<title>Bevy game</title> <!-- ToDo -->
<title>Path of Summoner</title>
<link data-trunk rel="copy-dir" href="assets"/>
<link data-trunk rel="copy-dir" href="credits"/>
<link data-trunk rel="copy-file" href="build/windows/icon.ico"/>
Expand Down
6 changes: 3 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ use bevy::prelude::*;
use bevy::window::{PrimaryWindow, WindowResolution};
use bevy::winit::WinitWindows;
use bevy::DefaultPlugins;
use bevy_game::GamePlugin;
use bevy_tweening::TweeningPlugin; // ToDo: Replace bevy_game with your new crate name.
use path_of_summoner::GamePlugin;
use bevy_tweening::TweeningPlugin;
use std::io::Cursor;
use winit::window::Icon;

Expand All @@ -18,7 +18,7 @@ fn main() {
.insert_resource(ClearColor(Color::rgb(0.1, 0.1, 0.1)))
.add_plugins(DefaultPlugins.set(WindowPlugin {
primary_window: Some(Window {
title: "Bevy game".to_string(), // ToDo
title: "Path of Summoner".to_string(),
// Bind to canvas included in `index.html`
canvas: Some("#bevy".to_owned()),
// Tells wasm not to override default event handling, like F5 and Ctrl+R
Expand Down

0 comments on commit d705b95

Please sign in to comment.