This website requires JavaScript.
Explore
Help
Sign In
SketchyMaze
/
doodle
Watch
1
Star
0
Fork
0
You've already forked doodle
Code
Issues
41
Pull Requests
1
Releases
Wiki
Activity
618d4b07c5
doodle
/
pkg
/
native
/
username.go
11 lines
113 B
Go
Raw
Normal View
History
Unescape
Escape
Finalize Non-square Doodads * Fix display bug with rectangular doodads scrolling off screen. * The default Author of new files will be your registration name, if available before using your $USER name.
2023-02-18 05:09:11 +00:00
package
native
import
(
"os"
)
D++ Default Author and Embedded Doodads Error * Update native.DefaultAuthor to get the name registered from the user's JWT license in a way that avoids cyclic dependency errors. * When plus_dpp.go#GetRegistration succeeds, it updates DefaultAuthor to the registered name. The main.go now gets and prints the registered owner to ensure this is populated on startup. * Return correct ErrRegisteredFeature error when the FOSS version fails to load embedded doodads.
2024-04-19 05:31:11 +00:00
var
(
USER
string
=
os
.
Getenv
(
"USER"
)
DefaultAuthor
=
USER
)
Reference in New Issue
Copy Permalink