Skip to content

Commit

Permalink
move VERSION.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
GuglioIsStupid committed Jan 5, 2023
1 parent 4da790c commit fa561d5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
File renamed without changes.
1 change: 0 additions & 1 deletion love/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ if love.filesystem.isFused() and (love.system.getOS() == "Windows" or love.syste
nextPresenceUpdate = 0
end
function love.load()
__VERSION__ = love.filesystem.read("version.txt")
require "modules.loveFuncs"
inputMod = require "modules.input"
input = inputMod:_load_config(
Expand Down
4 changes: 2 additions & 2 deletions love/modules/loveFuncs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ Edition: %s
if selected == 1 then
-- Surround traceback in ``` to get a Markdown code block
full_error = table.concat({"```",full_error,"```"}, "\n")
issuebody = string.format(issuebody, full_error, __VERSION__, love.system.getOS())
issuebody = string.format(issuebody, full_error, love.system.getOS())
issuebody = url_encode(issuebody)

local subject = string.format("Crash for Rit %s", __VERSION__)
local subject = "Crash for Rit"
local url = string.format("https://github.com/GuglioIsStupid/Rit/issues/new?title=%s&body=%s", subject, issuebody)
love.system.openURL(url)
end
Expand Down

0 comments on commit fa561d5

Please sign in to comment.