Other plugins for extending OpenKore's functionality. This forum is only for posting new plugins and commenting on existing plugins. For support, use the Support forum.
Moderator: Moderators
Mortimal
Developers
Posts: 389 Joined: 01 Nov 2008, 15:31
Noob?: No
#1
Post
by Mortimal » 28 Aug 2017, 09:12
Code: Select all
use Globals qw(%config);
use Plugins;
return unless
Plugins::register('accinwin', 'Add account name to window title', \&on_unload);
my $hooks = Plugins::addHooks(
['mainLoop::setTitle', \&onSetTitle],
);
sub on_unload {
Plugins::delHook($hooks);
}
sub onSetTitle{
$_[1]->{return} = $config{username} ." | ".$_[1]->{return};
}
in gist
https://gist.github.com/Mortimal/7eb5cd ... 31160f9240
Please use pin function for uploading your file contents!
SkylorD
Moderators
Posts: 1166 Joined: 16 Dec 2011, 02:53
Noob?: No
Location: Brazil
Contact:
#2
Post
by SkylorD » 29 Aug 2017, 13:33
Amazing !
Learn rules
c4c1n6kr3m1
The Way Of Human
Posts: 150 Joined: 24 Mar 2012, 04:13
Noob?: Yes
#3
Post
by c4c1n6kr3m1 » 29 Aug 2017, 15:00
why not edit customcaption plugin it's on needs-review
Mortimal
Developers
Posts: 389 Joined: 01 Nov 2008, 15:31
Noob?: No
#4
Post
by Mortimal » 29 Aug 2017, 15:37
that's why it is on forums but not in pull requests...
Please use pin function for uploading your file contents!
Mortimal
Developers
Posts: 389 Joined: 01 Nov 2008, 15:31
Noob?: No
#5
Post
by Mortimal » 29 Aug 2017, 16:16
ok but il revise that thx for info
Please use pin function for uploading your file contents!